kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shushant Arora <shushantaror...@gmail.com>
Subject What happens when ISR is behind leader
Date Wed, 30 Sep 2015 13:44:05 GMT

I have a kafka cluster with 2 brokers and replication as 2.
Now say for a partition P1 leader broker b1 has offsets 1-10 and ISR broker
is behind leader and now it has data for offsets (1-5) only. Now broker B1
gets down and kafka elects B2 as leader for partition P1. Now new write for
partition P1 will happen on B2 - what will be the offset of new message
will it start from (5+1)=6 or (10+1)=11?

And if it starts from 11 ? will offsets 6-10 will be missing ?


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