You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by zl...@sina.com on 2012/07/09 07:40:43 UTC
have too many connections with zk
Hi,all I find that my kafka client have too many connections with zk. The path "/consumers/group/ids" have too much watch sessions(above 100000) on the zk. How does it happen? How can I solve it?
Thanks;
Re: have too many connections with zk
Posted by Jun Rao <ju...@gmail.com>.
How many children are there under /consumers/group/ids? There should be at
most 1 zk connection per consumer. Make sure you close each consumer on
exit.
Thanks,
Jun
On Sun, Jul 8, 2012 at 10:40 PM, <zl...@sina.com> wrote:
> Hi,all I find that my kafka client have too many connections with zk.
> The path "/consumers/group/ids" have too much watch sessions(above 100000)
> on the zk. How does it happen? How can I solve it?
> Thanks;