My guess is that say your broker went down and you restarted it. That time interval between shutdown/crash and the restart was shorter than the ZK node's ephemeral timeout value.
Once that time is over, your node disappears from Zookeeper, the broker is able to recreate the znode and hence the success. In short, I would give about 3-30 seconds (you will need to check your settings) before doing a restart. -----Original Message----- From: Nomar Morado [mailto:nomar.mor...@gmail.com] Sent: Friday, June 17, 2016 6:15 AM To: users@kafka.apache.org Subject: Intermittent runtime exception: broker already registered I am using Kafka 0.9.0.1 with ZK 3.5.0-alpha I am seeing this error intermittently which goes away after several reboots. Any ideas? Sent from my iPad