camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Melnik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7306) Camel:Kafka NPE when trying to consume messages from kafka server
Date Tue, 18 Mar 2014 10:14:43 GMT
Ilya Melnik created CAMEL-7306:
----------------------------------

             Summary: 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
    Affects Versions: 2.13.0
         Environment: Windows, Java 1.6
            Reporter: Ilya Melnik


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)

Mime
View raw message