It uses the zookeeper leader election so only the node that is the
master is active, anyone else is in slave mode.

Also mind that zk requires a running quorum to function, eg so if you
have 3, you need 51%+ to be up and running, eg 2 nodes.
So if you lose 2 nodes, and only have 1 then zk is in zombie mode
(cant recall what they call this situation) and wont function, you
need to bring up at least 1 more node to have a quorum.

On Wed, Feb 21, 2018 at 10:13 AM, Dennis Holunder <> wrote:
> Hi guys,
> having setup with 3 zookeeper servers the zookeeper master policy
> works fine if one of clients is gone and the new master is then
> selected. But what will happen if one or two of zookeeper servers are
> gone and only one is still available? For example, if client is
> connected to zookeper1 and it is gone, will the client reconnect to
> zookeeper2 or zookeeper3?
> Kind regards, D

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

Reply via email to