zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Närling <kent.narl...@seamless.se>
Subject Having a primary server in the connect string?
Date Fri, 25 Nov 2011 14:28:27 GMT
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

Mime
View raw message