← Quiz: Distributed Transactions and Sagas: all 10 questions
Quiz: Distributed Transactions and Sagas · Question 10 of 10
The outbox relay may publish the same event twice after a crash. What must consumers do?
The outbox relay may publish the same event twice after a crash. What must consumers do?
- A.Assume it never happens
- B.Stop the relay permanently
- C.Be idempotent, for example by remembering processed event ids
- D.Delete the outbox table
Answer & explanation
Correct answer: Be idempotent, for example by remembering processed event ids
Delivery is at least once, so processing the same event twice must be harmless.
Can you get the rest right without peeking?
Take the timed Quiz: Distributed Transactions and Sagas quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →