"Restarted", do you mean restart the process/recreate a consumer from scratch 
in order to consume again?

This is quite different from the answer I got previously from here. I have more 
questions here.
Is "rebalance.backoff.ms" the time interval between any consecutive retries 
before  "rebalance.max.retries"  is reached?

This is what I was told previously.
After "rebalance.max.retries" number of retries, the consumer would back off 
for "rebalance.backoff.ms" before retrying 
again. Please clarify. Thanks.

Regards,

Libo

-----Original Message-----
From: Neha Narkhede [mailto:neha.narkh...@gmail.com] 
Sent: Thursday, February 06, 2014 12:12 PM
To: users@kafka.apache.org
Subject: Re: Consumer's behavior when brokers are temporarily not available.

The consumer only retries "rebalance.max.retries" times. Once it runs out of 
the retries, it needs to be restarted to consume again.




On Thu, Feb 6, 2014 at 9:05 AM, Yu, Libo <libo...@citi.com> wrote:

> Hi folks,
>
> This is what we experienced recently:
> Some zookeeper's issue made broker unavailable for a short period of time.
> On the consumer side, this triggered rebalance and rebalanced failed 
> after four tries.
> So while should we expect while the broker is not up? Should consumer 
> keep trying to rebalance or wait for the brokers to be brought back?  Thanks.
>
>
>
>
>
> Regards,
>
> Libo
>
>

Reply via email to