ExitIdempotency vs At-Least-Once Delivery1 / 9
Explanation

Two guarantees about different things

Why a guarantee about message delivery does not guarantee a single business effect, and why idempotency neither prevents redelivery nor guarantees delivery. · advanced

At-least-once delivery concerns attempts to deliver an accepted message across a defined transport boundary. Repeated delivery is permitted. The contract depends on the transport's retention, retry, and failure-handling rules; it does not promise that downstream business work succeeds.

Idempotency concerns the intended effect of repeating the same logical operation. Repetition must not change that effect beyond what one successful application would produce. Executions, logs, timestamps, and responses can still differ.

These properties answer different questions: Will the work reach a consumer? and What happens if the consumer repeats it? Reliable delivery does not make a counter increment safe to repeat, and a retry-safe operation does not make a missing message arrive.

PropertyConcernAllowsDoes not establish
At-least-once deliveryDelivery attemptsRepeated deliverySingle business effect
IdempotencyRepeated operation effectsRepeated executionDelivery or completion