Data Engineering
Bug Report
Kafka NotEnoughReplicasException in a rolling restart: RF and min.insync.replicas math
A routine rolling restart made producers fail with NotEnoughReplicasException. Some topics had replication factor 2 with min.insync.replicas 2, and the restart moved on before followers rejoined the ISR. The math, the fix and a safer restart gate.