You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Dennis Haller <dh...@talenttech.com> on 2013/05/14 18:12:04 UTC

zookeeper loading

Hi,

When the zk.connect property of the Kafka server is specified with a comma
separated host:port list, such as "127.0.0.1:3000,127.0.0.1:3001,
127.0.0.1:3002"., does that mean that every ZK connection attempt goes to
the first listed server if it exists? And does that represent a risk of
driving too much traffic to one ZK node if the same zk.connect list is used
everywhere in  a multi-broker system?

Regards
Dennis

Re: zookeeper loading

Posted by Neha Narkhede <ne...@gmail.com>.
No. The zookeeper client shuffles the list so that the load is distributed
across all zk servers in the connection url.

Thanks,
Neha


On Tue, May 14, 2013 at 9:12 AM, Dennis Haller <dh...@talenttech.com>wrote:

> Hi,
>
> When the zk.connect property of the Kafka server is specified with a comma
> separated host:port list, such as "127.0.0.1:3000,127.0.0.1:3001,
> 127.0.0.1:3002"., does that mean that every ZK connection attempt goes to
> the first listed server if it exists? And does that represent a risk of
> driving too much traffic to one ZK node if the same zk.connect list is used
> everywhere in  a multi-broker system?
>
> Regards
> Dennis
>