[ https://issues.apache.org/jira/browse/KAFKA-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329157#comment-14329157 ]
Jun Rao commented on KAFKA-1971: -------------------------------- A simple fix is not to explicitly delete the broker registration path. We are closing the connection to ZK on shutdown, which will automatically remove all ephemeral paths. > 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)