On 10/07/2011 10:35 AM, Mathias Herberts wrote: > Try to either wait for more than the ZK timeout prior to restarting > Kafka, or lower the ZK timeout so the ephemeral node is indeed gone > when you restart Kafka.
There are tradeoffs involved when setting a lower timeout [1]. So as other's have said there are other things (like a clean shutdown) to try first. [1] http://markmail.org/message/634m6gxrjjo7kded