All challenges
Multiple ChoiceIntermediate 45s

Message ordering and idempotency

Why must consumers of an at-least-once event stream be idempotent?
Options
  1. 1Because messages are always lost in transit, so each consumer must recreate any missing events
  2. 2Because the broker guarantees exactly-once semantics, so duplicates can never actually occur
  3. 3Because messages may be redelivered after a crash before ack, causing duplicate processing
  4. 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.

Play this in a 3-minute battle