Re: Got NPE during partition rebalancing in high level consumer

2015-04-15 Thread Guozhang Wang
Hello Tao, Do you think the solution to KAFKA-2056 will resolve this issue? It will be included in 0.8.3 release. Guozhang On Wed, Apr 15, 2015 at 2:21 PM, tao xiao xiaotao...@gmail.com wrote: Hi team, I discovered an issue that when a high level consumer with roundrobin assignment

Re: Got NPE during partition rebalancing in high level consumer

2015-04-15 Thread tao xiao
Guozhang, No, I don't think the patch of KAFKA-2056 would fix this problem. The NPE is thrown at the line that is called before the fix executes. But I do notice that the code in trunk did fix the issue by ensuring the size of map returned from ctx.consumersForTopic is 0. So the code in trunk is

Got NPE during partition rebalancing in high level consumer

2015-04-15 Thread tao xiao
Hi team, I discovered an issue that when a high level consumer with roundrobin assignment strategy consumes a topic that hasn't been created on broker a NPE exception is thrown during partition rebalancing phase. I use Kafka 0.8.2.1 Here is the step to reproduce: 1. create a high level consumer