[ https://issues.apache.org/jira/browse/KAFKA-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329587#comment-14329587 ]
Gwen Shapira commented on KAFKA-1971: ------------------------------------- If you use an automated restart (say "service kafka restart"), the broker is very likely to start again before the ZK timeout, I believe this used to put the broker in an infinite loop of trying to register, but I don't remember the exact details. > starting a broker with a conflicting id will delete the previous broker > registration > ------------------------------------------------------------------------------------ > > Key: KAFKA-1971 > URL: https://issues.apache.org/jira/browse/KAFKA-1971 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.2.0 > Reporter: Jun Rao > Fix For: 0.8.3 > > > This issue can be easily reproduced by the following steps. > 1. Start broker 1. > 2. Start broker 2 with the same id as broker 1 (configure different port, log > dir). > Broker 2's registration will fail. However, broker 1's registration in ZK is > now deleted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)