Yes the offsets are the same. -hans
> On Aug 28, 2017, at 8:32 PM, Vignesh <vignesh.v...@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.