Glossary
Exactly-once processing
A processing guarantee that each event affects the result exactly once, even after retries or redelivery.
Also called: exactly-once semantics, EOS
Exactly-once processing is a guarantee that even though failures, retries, and redeliveries happen constantly in distributed systems, each event still affects the final result exactly one time, no duplicate counts, no missed updates. It is one of three common delivery guarantees, alongside at-most-once, where a message might be lost but is never duplicated, and at-least-once, where a message is never lost but might be delivered and processed more than once.
True exactly-once delivery across a network is not fully achievable in the general case; in practice, systems like Apache Kafka achieve exactly-once processing semantics by combining at-least-once delivery with idempotent writes or transactional commits, so that even if an event is redelivered, applying it again has no additional effect. This is why exactly-once processing is closely tied to idempotency: the guarantee is usually built at the application or storage layer, not purely by the transport.
This matters most in stream processing and event streaming, where financial totals, inventory counts or billing events must not be double-counted or silently dropped, since either error directly corrupts a result a business relies on. A common misreading is assuming a system labeled "exactly-once" makes every downstream side effect exactly-once too, sending a duplicate email, calling an external API twice, it typically only covers writes to that system's own managed state, so external side effects still need their own data deduplication safeguards.
Last reviewed September 22, 2026