API Testing · Senior · Question 21 of 75
What must consumers of at-least-once message delivery be tested for?
- 1Receiving every message exactly once
- 2Handling duplicates idempotently
- 3Processing messages only in batches
Show the answer
Correct answer: Handling duplicates idempotently
Explanation
Brokers redeliver after failures. Processing the same "payment captured" event twice must not charge or ship twice.