Quiz · Delivery guarantees · lesson 2 of 9Quiz — delivery guaranteesWhat do at-least-once, at-most-once, and exactly-once delivery mean?[A]at-most-once guarantees no duplicates by storing every message id in the broker forever. at-least-once guarantees no loss by acknowledging before processing starts. exactly-once is achieved automatically whenever the consumer runs inside a single goroutine, since nothing can then process a message concurrently.[B]at-most-once never retries, so a message may be lost but never duplicated. at-least-once retries on failure, so it is never lost but may arrive twice — consumers must be idempotent. exactly-once is hard end to end and is usually approximated as effectively-once via deduplication.[C]at-most-once and at-least-once differ only in latency and are identical in effect: both may duplicate and both may lose messages. exactly-once is usually reached through strict FIFO order, which in practice removes duplicates as a side effect of that ordering.[D]at-most-once retries until one delivery succeeds, so a message is never lost. at-least-once delivers once with no retry, so it may be lost. exactly-once is the default mode of every broker and needs no deduplication or other extra work from the consumer.← BackThree delivery guaranteesNext →When to acknowledge