Skip to content
Ameen Abozaid
Planned lessonSRB-002-L07

Demo: a replay that would have resent 40,000 emails, and the fix

  • Lesson 7 of 7
  • Senior B
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

catch a dangerous replay before it hurts customers.

Draft outline details

Step by step

  1. Setup: a bug fix requires replaying ShipmentDispatched for a week.
  2. Inspect the notification consumer: it sends an email per event.
  3. Dry-run the replay in staging with a mail sink and show 40,000 captured messages.
  4. Planned mistake: rely on 'we will pause the mail provider' as the safeguard; fix with a replay flag and a sent-notifications table.
  5. Update the catalog: mark the consumer as side-effecting and document the replay procedure.

Prepares SRB-002-LAB1.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.