Apache Kafka® Fundamentals
What this topic covers
Explain how keys determine partition placement and ordering, and how compacted topics retain the latest value per key. Apply acknowledgments and minimum in-sync replica settings to control write durability.
What does acks=all with min.insync.replicas=2 guarantee when a producer writes?
The leader waits for the current in-sync replicas before acknowledging the write. With min.insync.replicas=2, the write is rejected when fewer than two replicas are in sync, so the producer gets an error instead of a silent loss.