Loading lesson…
Level 1 · Apprentice0 XP
Announce that something important happened, and let other parts react.
Step 1 / 5
ProblemPlacing an order also sends an email, updates loyalty points, notifies the warehouse and writes analytics. The use case grows every month, and a failing email blocks the order.
← → step
Before this: Bounded contexts and shared language
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Move one side effect (an email or analytics call) out of a use case into a handler for a domain event. Then sketch an outbox table and the relay that sends rows to your broker.