All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is At-most-once and at-least-once delivery?

Also known as: at-most-once delivery · at-least-once delivery

Definition 24.5 Research, Data and Risk Platforms · Chapter 24 — Messaging and Event-Driven Architecture

Under at-most-once delivery a message may be lost but is never processed twice: the consumer commits the offset before processing. Under at-least-once delivery a message is never lost but may be processed more than once: the consumer commits after processing, and a crash in between repeats the uncommitted messages.

Read in context →