kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Palino <tpal...@gmail.com>
Subject Re: Elegant way to failover controller
Date Wed, 05 Apr 2017 16:12:41 GMT
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.saber1990@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message