You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/05/04 10:47:15 UTC

[jira] [Commented] (CAMEL-7306) Camel:Kafka NPE when trying to consume messages from kafka server

    [ https://issues.apache.org/jira/browse/CAMEL-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988944#comment-13988944 ] 

ASF GitHub Bot commented on CAMEL-7306:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/133


> 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)