You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Vignesh <vi...@gmail.com> on 2017/08/29 03:32:01 UTC

Offsets across brokers

Hi,

If a topic partition is replicated and leader switches from broker 1 to
broker 2 , are the offsets for messages in broker 2 same as broker1 ? If
not, how can applications that store offsets outside of Kafka handle the
difference?

Thanks,
Vignesh.

Re: Offsets across brokers

Posted by Hans Jespersen <ha...@confluent.io>.
Yes the offsets are the same.

-hans




> On Aug 28, 2017, at 8:32 PM, Vignesh <vi...@gmail.com> wrote:
> 
> Hi,
> 
> If a topic partition is replicated and leader switches from broker 1 to
> broker 2 , are the offsets for messages in broker 2 same as broker1 ? If
> not, how can applications that store offsets outside of Kafka handle the
> difference?
> 
> Thanks,
> Vignesh.