Re: electing leader failed and result in 0 latest offset

2016-04-26 Thread Liquan Pei
Hi Qi, Just to confirm, as you seeing the offset reset to 0 in the new consumer? I am not sure the root cause of the leader election failure. But as the new Kafka consumer is storing the offset in Kafka, it is possible to reset the offset to 0 for some topic partitions when the leader for a

electing leader failed and result in 0 latest offset

2016-04-20 Thread Qi Xu
Hi folks, Recently we run into an odd issue that some partition's latest offset becomes 0. Here's the snapshot of the Kafka Manager. As you can see partition 2 and 3 becomes zero. *Partition* *Latest Offset* *Leader* *Replicas* *In Sync Replicas* *Preferred Leader?* *Under Replicated?* 0