Skip to content
All concepts

Concept

Exactly-once delivery (a myth)

No system can promise that a message is delivered exactly once when networks and processes can fail, because the sender cannot tell a lost message from a lost acknowledgement. What can be built is an exactly-once effect: deliver at least once, and make the processing idempotent so that a repeat changes nothing. Products that advertise exactly-once do this inside their own boundary, and the guarantee ends where your own side effects begin.

Watch a message arrive twice: the consumer recognises its ID and does the work only once. A live step from the lesson Offsets & at-least-once (Kafka / streaming). Timings and counts are illustrative.

Where you'll see it