Hi 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 ? Thanks