Chapter 8 of the story of the course. Outline: (1) why the e-mail must leave the request path; (2) Kafka in KRaft mode; (3) the dual-write problem and the outbox; (4) idempotent consumer, retries and the DLT; (5) waiting room; (6) what we measure, and the simulator that replays the lab.
The story of the course (2027.1 overview, "The story of the course"): chapter 8 opens with the synchronous write path and the 30x crowd. Lab 6 left the seat safe (naive double-booked, 9 and 11 seats in runs for that lab; pessimistic and optimistic always 0).
The page draws both architectures as step-by-step diagrams (tabs "Before" and "After").
The tour of the page: order-1 lands twice on partition 4, order-2 on partition 3. Keep the three tour messages: they become the poison messages of step 3.