Elegant way to failover controller

2017-04-05 Thread Jun MA
Hi, We are running kafka 0.9.0.1 and I’m looking for a elegant way to failover controller to other brokers. Right now I have to restart the broker to failover it to other brokers. Is there a way to failover controller to a specific broker? Is there a way to failover it without restart the broke

Re: Elegant way to failover controller

2017-04-05 Thread Todd Palino
You can force the controller to move, but you can’t control where it goes. To force the controller to move to another broker, delete the “/controller” znode in Zookeeper for the cluster. This will cause the current controller to resign and a new one to be elected, but it’s random as to what broker

Re: Elegant way to failover controller

2017-04-05 Thread Jun MA
Hi Todd, Thanks for your reply. We are seeing issue that for some topic, the ISR is keep churning, meaning that it will continuously shrink/expand ISR every about 10s. It doesn’t look like the follower cannot catch up with the leader because those topics are inactivate. There is one time that w

Re: Request to subscribe

2017-04-05 Thread Matthias J. Sax
It's more helpful to cc'ed people that are not subscribed yet if you answer :) -Matthias On 4/4/17 11:39 PM, Shuai Lin wrote: > To subscribe you should send a message to users-subscr...@kafka.apache.org. > Please follow the instructions on https://kafka.apache.org/contact . > > On Wed, Apr 5, 2