Re: NotEnoughReplicasException: The size of the current ISR Set(2) is insufficient to satisfy the min.isr requirement of 3

2020-07-13 Thread Nag Y
Thanks Liam, so the phrase " current ISR set " in the warning refers to ISR set that is being shown as kafka-topics describe command ? And also, should the "maximum" value of " min.insync.replicas" be (replication factor - 1 ) - I mean min.insync.replicas should not be same as " replication

Re: NotEnoughReplicasException: The size of the current ISR Set(2) is insufficient to satisfy the min.isr requirement of 3

2020-07-07 Thread Liam Clarke-Hutchinson
Hi Nag, ISR is the replicas that are in sync with the leader, and there's a different ISR set for each partition of a given topic. If you use `kafka/bin/kafka-topics --describe --topic ` it'll show you the replicas and ISR for each partition. min.insync.replicas and replication factor are all

NotEnoughReplicasException: The size of the current ISR Set(2) is insufficient to satisfy the min.isr requirement of 3

2020-07-07 Thread Nag Y
I had the following setup Brokers : 3 - all are up and running with min.insync.replicas=3. I created a topic with the following configuration bin\windows\kafka-topics --zookeeper 127.0.0.1:2181 --topic topic-ack-all --create --partitions 4 --replication-factor 3 I triggered the producer with