In the Zookeeper constructor javadoc it says:
"The instantiated ZooKeeper client object will pick an arbitrary
server from the connectString and attempt to connect to it."

Is there any way of having multiple servers but having one acting as a
primary server which it will prefer?

We are planning to deploy a cluster where we want to have identical
nodes  (ie all services on all nodes), so in that case it naturally
seems preferrable that the client connects to the local zookeeper node
primarily...

//Kent

Reply via email to