Const
Acknowledgement modes for produce requests.
All
None
Leader
Readonly
Wait for all in-sync replicas. Strongest durability guarantee.
Wait for the partition leader only.
No acknowledgement. Lowest latency but no delivery guarantee.
Acknowledgement modes for produce requests.
All(-1): Wait for all in-sync replicas to acknowledge.None(0): Fire and forget — no acknowledgement.Leader(1): Wait for the leader to acknowledge.