Sagas and Workflows
Coordinate long-running processes.
Coordinating Long Workflows
Some business processes span multiple messages and steps over time: place order, charge payment, reserve stock, ship. A saga coordinates such a long-running workflow and tracks its state across messages.
What Is A Saga?
A saga is a stateful consumer. It correlates related messages, holds the workflow's current state, and reacts to events by transitioning between states until the process completes.
All lessons in this course
- Messaging Concepts
- Producing and Consuming Messages
- Sagas and Workflows
- Error Handling and Retries