Re: NPE in debug logging statement in kafka new producer

2014-12-29 Thread Neha Narkhede
> > So, do I need to expect 0.8.2 official release will have generic > Producer interface? Yes On Sun, Dec 28, 2014 at 11:31 PM, Bae, Jae Hyeon wrote: > I forgot to mention I was building with kafka-clients-0.8.2-beta. > > To reproduce this problem, I cloned kafka github repo and changed the >

Re: NPE in debug logging statement in kafka new producer

2014-12-28 Thread Bae, Jae Hyeon
I forgot to mention I was building with kafka-clients-0.8.2-beta. To reproduce this problem, I cloned kafka github repo and changed the source tree to the tag:0.8.2-beta and modified the dependency in my IDE from kafka-clients-0.8.2-beta to the source tree with tag:0.8.2-beta but I couldn't reprod

Re: NPE in debug logging statement in kafka new producer

2014-12-28 Thread Neha Narkhede
This is a bug. Would you mind filing a JIRA? Also feel free to upload a patch. On Sat, Dec 27, 2014 at 7:25 PM, Bae, Jae Hyeon wrote: > Hi > > While I am testing kafka java producer, I saw the following NPE > > SLF4J: Failed toString() invocation on an object of type > [org.apache.kafka.common.C

NPE in debug logging statement in kafka new producer

2014-12-27 Thread Bae, Jae Hyeon
Hi While I am testing kafka java producer, I saw the following NPE SLF4J: Failed toString() invocation on an object of type [org.apache.kafka.common.Cluster] java.lang.NullPointerException at org.apache.kafka.common.PartitionInfo.toString(PartitionInfo.java:72) at java.lang.String.valueOf(String.