You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by 李斯宁 <li...@gmail.com> on 2016/09/02 09:21:18 UTC

Re: Broker disappear from zookeeper

No one have seen this problem before?

On Fri, Aug 26, 2016 at 1:11 PM, 李斯宁 <li...@gmail.com> wrote:

> hi, guys
> I have a three nodes kafka cluster.
> Some times, one of the Kafka brokers may disappear from zookeeper
> "/brokers/ids", but the process is still live and prints logs seems normal.
>
> Have anyone of you also saw this problem? Is this a bug?
> I suspect when session expired, the kafka broker do not retry to
> reestablish session to zookeeper and create its node under "/brokers/ids"
>
> my kafka version: 0.10.0.0
> --
> 李斯宁
>



-- 
李斯宁

Re: Broker disappear from zookeeper

Posted by Alexey Ozeritsky <ao...@yandex.ru>.
Hello,

I've seen this. I've been using kafka since 0.8.0-snapshot and all versions have this problem.
I think it happens in case of network problems. 
I just make a monitoring on this case and I restart broker if it disapper from zookeeper.

02.09.2016, 12:21, "\u674e\u65af\u5b81" <li...@gmail.com>:
> No one have seen this problem before?
>
> On Fri, Aug 26, 2016 at 1:11 PM, \u674e\u65af\u5b81 <li...@gmail.com> wrote:
>
>> �hi, guys
>> �I have a three nodes kafka cluster.
>> �Some times, one of the Kafka brokers may disappear from zookeeper
>> �"/brokers/ids", but the process is still live and prints logs seems normal.
>>
>> �Have anyone of you also saw this problem? Is this a bug?
>> �I suspect when session expired, the kafka broker do not retry to
>> �reestablish session to zookeeper and create its node under "/brokers/ids"
>>
>> �my kafka version: 0.10.0.0
>> �--
>> �\u674e\u65af\u5b81
>
> --
> \u674e\u65af\u5b81