Messagingdelivery semanticsat-most-onceexactly-once
At-least-once delivery
Definition
At-least-once delivery means the broker redelivers a message until the consumer acknowledges it, so a message is never lost but may be processed more than once.
In practice
Duplicates happen when a consumer finishes work but crashes or times out before acknowledging. It is the default for most brokers because the alternative, at-most-once, silently loses messages on failure.
End-to-end exactly-once is not something a broker can give you across external side effects. In practice you combine at-least-once delivery with idempotent consumers, which gives effectively-once results.
Example
A worker charges a card, then loses its connection before acking; the message is redelivered, and only an idempotency check stops a second charge.