Designing Event-Driven Sagas
Design the flow of a choreography saga using events to trigger actions across different microservices.
Event-Driven Saga Design
Welcome! In this lesson, we'll learn how to design the flow of a Choreography Saga. This pattern helps manage complex business transactions that span multiple services.
We'll focus on using events as the primary way services communicate and trigger each other's actions.
Choreography Refresher
Remember Choreography Sagas? In this style, services communicate directly by publishing and subscribing to events.
- No central orchestrator: Services react to events from others.
- Decentralized decisions: Each service decides its next step based on the event it receives.
All lessons in this course
- Designing Event-Driven Sagas
- Event Bus and Message Brokers
- Handling Compensation with Events
- Building Idempotent Event Consumers