kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Producer creation when brokers are down
Date Thu, 19 Apr 2012 14:10:31 GMT
Pierre,

Could you post the exact exception your saw during Producer initialization?
It's not clear to me from your message whether the exception is due to ZK
or broker.

Thanks,

Jun

On Thu, Apr 19, 2012 at 1:43 AM, Pierre-Yves Ritschard <pyr@spootnik.org>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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message