watch the zookeeper node ,when it exists, zk will callback you code, then
try to reconnect the kafka.

Thanks

On Thu, Apr 19, 2012 at 4:43 PM, Pierre-Yves Ritschard <[email protected]>wrote:

> Hi,
>
> Whenever there is a connectivity glitch between producers and brokers
> the producers wait for the brokers to be available as expected. I
> noticed that this is not the case for the initial Producer creation
> though, the constructor will raise an exception. Is there a way to
> tell the producer to wait for a zookeeper node to become available ?
>
>  - pyr
>

Reply via email to