Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60A3E10C6B for ; Tue, 8 Apr 2014 13:23:29 +0000 (UTC) Received: (qmail 5328 invoked by uid 500); 8 Apr 2014 13:23:23 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 4911 invoked by uid 500); 8 Apr 2014 13:23:16 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 4877 invoked by uid 99); 8 Apr 2014 13:23:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 13:23:15 +0000 Date: Tue, 8 Apr 2014 13:23:15 +0000 (UTC) From: "Grzegorz Grzybek (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work stopped] (CAMEL-7306) Camel:Kafka NPE when trying to consume messages from kafka server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-7306 stopped by Grzegorz Grzybek. > Camel:Kafka NPE when trying to consume messages from kafka server > ----------------------------------------------------------------- > > Key: CAMEL-7306 > URL: https://issues.apache.org/jira/browse/CAMEL-7306 > Project: Camel > Issue Type: Bug > Components: camel-kafka > Affects Versions: 2.13.1 > Environment: Windows, Java 1.6 > Reporter: Ilya Melnik > Assignee: Grzegorz Grzybek > Fix For: 2.13.1, 2.14.0 > > Attachments: KafkaConsumer.zip > > > I've installed and configured zookeeper and kafka servers using apache quick start guide on ubuntu running in vmware. > Launch producer for already created topic "page_visits" and try to consume messages and nothing happens. > Trying to debug KafkaEndpoint i can see that server doesn't send me any key (KafkaConstants.KEY) so here: > message.setHeader(KafkaConstants.KEY, new String(mm.key())); > i got NPE and it silently fails. -- This message was sent by Atlassian JIRA (v6.2#6252)