Re: Jumbled up ISR

2015-09-16 Thread Prabhjot Bharaj
Thanks for your inputs Grant ! Regards, Prabhjot On Tue, Sep 15, 2015 at 6:56 PM, Grant Henke wrote: > The first replica in the ISR is the preferred replica, but is not required > to be the leader at all times. If you execute a preferred leader election, > or enable auto.leader.rebalance.enable

Re: Jumbled up ISR

2015-09-15 Thread Grant Henke
The first replica in the ISR is the preferred replica, but is not required to be the leader at all times. If you execute a preferred leader election, or enable auto.leader.rebalance.enable, then replica 4 will become the leader again. More can be read here: - http://kafka.apache.org/documentat

Jumbled up ISR

2015-09-15 Thread Prabhjot Bharaj
Hi, Topic:part_1_repl_3_3 PartitionCount:1 ReplicationFactor:3 Configs: Topic: part_1_repl_3_3 Partition: 0 Leader: 3 Replicas: 3,4,5 Isr: 4,3,5 I see that the replicas are 3,4,5 but, the ISR is 4,3,5. I have this doubt:- When the leader is 3, can the ISR be 4, 3, 5 ? Does the ISR got to ha