You understanding is correct. There should be no message loss, unless the # of correlated failures is larger than the replication factor.
Thanks, Jun On Mon, May 13, 2013 at 8:46 AM, Yu, Libo <libo...@citi.com> wrote: > Thanks for answering my questions. Now I know why the offset is saved in > zookeepers. > If a consumer group has only one consumer, when it fails and restarts, I > assume it starts > consuming from the offset saved in the zookeeper. Is that right? > If that is the case, then the consumer client does not need to worry about > duplicate > Messages. Is there any chance that messages will be lost ? > > > > > > > Regards, > > Libo > >