[
https://issues.apache.org/jira/browse/FLUME-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261405#comment-14261405
]
ASF subversion and git services commented on FLUME-2578:
--------------------------------------------------------
Commit 199684b62ec983b8f922b1d6d706479032a18e64 in flume's branch
refs/heads/trunk from [~hshreedharan]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=199684b ]
FLUME-2578. Kafka source throws NPE if Kafka record has null key
(Gwen Shapira via Hari)
> Kafka source throws NPE if Kafka record has null key
> ----------------------------------------------------
>
> Key: FLUME-2578
> URL: https://issues.apache.org/jira/browse/FLUME-2578
> Project: Flume
> Issue Type: Bug
> Reporter: Gwen Shapira
> Assignee: Gwen Shapira
> Attachments: FLUME-2578.0.patch
>
>
> When the Kafka topics contain messages with no key (such as the messages sent
> by default from kafka-console-producer), Kafka Source throws NPE:
> 2014-12-20 12:58:59,604 ERROR
> org.apache.flume.source.kafka.KafkaSource: KafkaSource EXCEPTION, {}
> java.lang.NullPointerException
> at java.lang.String.<init>(String.java:556)
> at org.apache.flume.source.kafka.KafkaSource.process(KafkaSource.java:105)
> at
> org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:139)
> at java.lang.Thread.run(Thread.java:745)
> )
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)