Re: What happens when ISR is behind leader

2015-10-01 Thread pushkar priyadarshi
Hi, There are two properties which determines when does a replica falls off sync.Look for replica.lag.time.max.ms and replica.lag.max.messages .If a replica goes out of sync then it would not be even considered for leader election. Regards, Pushkar On Wed, Sep 30, 2015 at 9:44 AM, Shushant Arora

What happens when ISR is behind leader

2015-09-30 Thread Shushant Arora
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 partitio