Re: unclean.leader.election.enable question

2015-05-20 Thread tao xiao
Thank you Mayuresh for the quick reply. If my producer has acks=all set would the producer get callback indicating the missing 2000 messages unsuccessful delivery assuming new Java producer is used On Wednesday, May 20, 2015, gharatmayures...@gmail.com wrote: This is not unclean leader election

unclean.leader.election.enable question

2015-05-20 Thread tao xiao
Hi team, I know that if a broker is behind the leader by no more than replica.lag.max.messages the broker is considered in sync with the leader. Considering a situation where I have unclean.leader.election.enable=true set in brokers and the follower is now 2000 messages behind (the default

Re: unclean.leader.election.enable question

2015-05-20 Thread gharatmayuresh15
This is not unclean leader election since the follower is still in ISR. Yes we will loose those 2000 messages. Mayuresh Sent from my iPhone On May 20, 2015, at 8:31 AM, tao xiao xiaotao...@gmail.com wrote: Hi team, I know that if a broker is behind the leader by no more than