You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Jun Rao <ju...@gmail.com> on 2010/09/04 01:58:28 UTC
zk connect string
Hi,
If I have a replicated ZK cluster and a client is only given one of the ZK
server name in the connection string, does the ZK client automatically get
names of other servers in the cluster once the initial connection is
established? I am wondering if it's really necessary to use a connection
string with all server names in it. Thanks,
Jun
Re: zk connect string
Posted by Dave Wright <wr...@gmail.com>.
No, and yes. If you don't provide all the servers it does not discovered
them and won't failover it's connection If the one it is connected to fails.
On Sep 3, 2010 7:58 PM, "Jun Rao" <ju...@gmail.com> wrote:
> Hi,
>
> If I have a replicated ZK cluster and a client is only given one of the ZK
> server name in the connection string, does the ZK client automatically get
> names of other servers in the cluster once the initial connection is
> established? I am wondering if it's really necessary to use a connection
> string with all server names in it. Thanks,
>
> Jun