Two guarantees answering different questions
Why guarantees about message sequence are independent of guarantees about delivery attempts, so ordered messages can still be delivered repeatedly. · advanced
Message ordering answers a sequence question: in what relative order must distinct messages be delivered or processed? At-least-once delivery answers a delivery question: how does the system pursue delivery despite failures, allowing repeated attempts? Neither guarantee supplies the other.
Both claims need boundaries. For ordering, name the scope and observation point: delivery within one message group is different from completion of application writes. For at-least-once delivery, name the transport-to-consumer boundary and its retention and recovery rules; the guarantee does not promise unlimited retries or successful downstream business operations.
Suppose A precedes B in one ordered scope. The receive trace A, A, B can preserve their relative sequence even though A appears twice. Repetition is not reversal: counting attempts and checking sequence are separate analyses.
| Question | Ordering | At-least-once delivery |
|---|---|---|
| Defining concern | Relative sequence | Reliable delivery |
| What to identify | Scope and observation point | Delivery boundary |
| Repeated receives | Not inherently excluded | Permitted |
| Does not establish | Single execution | Relative sequence |