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
that will be.

A better question here is why do you want to move the controller?

-Todd

On Wed, Apr 5, 2017 at 9:09 AM, Jun MA <mj.saber1...@gmail.com> wrote:

> 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 broker?
>
> Thanks,
> Jun




-- 
*Todd Palino*
Senior Staff Engineer, Site Reliability
Data Infrastructure Streaming



linkedin.com/in/toddpalino

Reply via email to