Skip to content
BENIBIX Learn

At-Least-Once Delivery

Data📥 Ingestion & StreamingDelivery Guarantees

Also known as At Least Once

Every message comes, but some may come twice.

Think of it like

It is like a postman who knocks again if no one comes. Some days you get the same note twice.

Example

A payment event is sent again after a timeout. The reader checks the payment ID, sees it was already done, and skips it.

Why it matters

Nothing is lost, which most data needs. The cost is that every reader must handle copies.

Definition

At-least-once delivery means every message arrives, but some may arrive more than once. The sender keeps trying until it gets a reply. If the reply is lost, it sends the same message again. Most streaming tools work this way by default. The reader has to cope with copies, often by making its work idempotent.
What happens to one message when a send fails, under each guarantee.

Common mistake

Counting each message as new. Copies then turn into double sales and double emails.

Key takeaways

  1. 1
    Nothing lost. Sends are retried until they land.
  2. 2
    Copies happen. A lost reply means a resend.
  3. 3
    Readers dedupe. Make the work safe to repeat.

Compare