Re: failover with zookeeper-master component

2018-02-22 Thread Dennis Holunder
gt; > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > > > ________ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/failover-with-zookeeper-master-component-tp5817804p5817843.html > To unsubscribe from Camel, click here. > NAML

Re: failover with zookeeper-master component

2018-02-22 Thread Claus Ibsen
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

failover with zookeeper-master component

2018-02-21 Thread Dennis Holunder
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