Kafka ISR Failure Simulator

One partition, three replicas. Predict whether a produce succeeds, blocks, or throws before you flip a toggle — acks and min.insync.replicas only ever promise durability from the replicas currently in the ISR, not from all three.

Producer & topic configuration

Producer acks
Topic min.insync.replicas
unclean.leader.election.enable allow an out-of-ISR replica to become leader if ISR is empty

Replica state

Leader
Broker A
Follower
Broker B
Follower
Broker C

Scenario presets — predict the outcome before clicking

✓ Write succeeds

Durability, availability, and what "in sync" really means

Kafka gives you a three-way tradeoff, not a free lunch: durability (survive a broker failure without losing acknowledged writes), availability (keep accepting writes during a failure), and how strict you are about what counts as "in sync." You cannot maximize all three at once.