Re: rebalancing leadership quite often

2015-02-20 Thread Joe Stein
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whypartitionleadersmigratethemselvessometimes ? ~ Joe Stein - - - - - - - - - - - - - - - - - http://www.stealth.ly - - - - - - - - - - - - - - - - - On Fri, Feb 20, 2015 at 7:19 PM, Sa Li wrote: > Hi, All > > My dev cluster has three

rebalancing leadership quite often

2015-02-20 Thread Sa Li
Hi, All My dev cluster has three nodes (1, 2, 3), but I've seen quite often that the 1 node just not work as a leader, I run preferred-replica-election many time, every time I run replica election, I see 1 turn out to be leader for some partitions, but it just stop leadership after a while, and th