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/11/09 10:24:25 UTC

kafka broker re-register

 Hi, allI have some problem with using kafka-0.7.1.  I use a cluster with 4 brokers. They are runing well before.However, I found all brokers re-registered to zk yesterday. The log is blow:[2012-11-08 09:58:17,805] INFO re-registering broker info in ZK for broker 2 (kafka.server.KafkaZooKeeper)[2012-11-08 09:58:17,944] INFO re-registering broker topics in ZK for broker 2 (kafka.server.KafkaZooKeeper)......
I want to know why the brokers re-register?I had deleted some topics in ZK that are not used now. But I had not delete data with these topics on the brokers.So, this re-registry bring these topics that had been deleted into ZK again.
If I delete these data with these topics on the broker, and delete these topics in ZK, but I do not restart brokers.When the brokers re-register again, the brokers will bring these topics(had been deleted) into ZK ?The brokers get info of topics from ram or disk?
Thanks All. 

Re: kafka broker re-register

Posted by Jun Rao <ju...@gmail.com>.
Were there ZK session expirations in the broker log? Broker registers when
ZK session expires.

Thanks,

Jun

On Fri, Nov 9, 2012 at 1:24 AM, <zl...@sina.com> wrote:

>  Hi, allI have some problem with using kafka-0.7.1.  I use a cluster with
> 4 brokers. They are runing well before.However, I found all brokers
> re-registered to zk yesterday. The log is blow:[2012-11-08 09:58:17,805]
> INFO re-registering broker info in ZK for broker 2
> (kafka.server.KafkaZooKeeper)[2012-11-08 09:58:17,944] INFO re-registering
> broker topics in ZK for broker 2 (kafka.server.KafkaZooKeeper)......
> I want to know why the brokers re-register?I had deleted some topics in ZK
> that are not used now. But I had not delete data with these topics on the
> brokers.So, this re-registry bring these topics that had been deleted into
> ZK again.
> If I delete these data with these topics on the broker, and delete these
> topics in ZK, but I do not restart brokers.When the brokers re-register
> again, the brokers will bring these topics(had been deleted) into ZK ?The
> brokers get info of topics from ram or disk?
> Thanks All.