Companion extra Chapter 3
What acks buys you
The same write under acks=0, acks=1, and acks=all. The producer returns at once, after the leader confirms, or after every in-sync replica confirms. Then the leader crashes, and only the acks=all record is still there.
What to notice
See the trade the acks setting makes: waiting costs latency, and not waiting costs a guarantee.
From Chapter 3: Kafka Producers: Writing Messages to Kafka in Kafka: The Definitive Guide.
Open SVG
Space pauses, R restarts, arrows move between animations