At-Least-Once 配信とは?
At-least-once 配信は、確認応答があるまで再送を続けることで、すべてのメッセージが consumer に一度以上到達することを保証します。処理後に確認応答が失われる可能性があるため、同じメッセージが再び配信されることがあり、重複が発生し得ます。consumer はそれらを冪等に処理することが求められます。
なぜ重要か
At-least-once は決してメッセージを取りこぼさないため、最も一般的な実用的保証です。その代償として、consumer は二重処理を避けるために重複排除するか冪等である必要があります。
関連ガイド
What Is At-Most-Once Delivery?At-most-once delivery sends each message zero or one time, avoiding duplicates but accepting that a message m…
What Is Exactly-Once Delivery?Exactly-once delivery is the guarantee that a message is processed one and only one time, with neither loss n…
What Is Message Acknowledgment?Message acknowledgment is the signal a consumer sends to confirm it has processed a message, telling the brok…