Multiple ChoiceIntermediate 45s
Message ordering and idempotency
Why must consumers of an at-least-once event stream be idempotent?
Options
- 1Because messages are always lost in transit, so each consumer must recreate any missing events
- 2Because the broker guarantees exactly-once semantics, so duplicates can never actually occur
- 3Because messages may be redelivered after a crash before ack, causing duplicate processing
- 4Because consumers run on multiple threads concurrently and would otherwise race on shared state
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.