D2 — saga (booking)
Hotel + flight + car saga with compensating actions.
Rendering…
Make it your own.
client -> orchestrator: book trip
orchestrator -> hotel: reserve
orchestrator -> flight: book
orchestrator -> car: rent
hotel -> orchestrator: ok
flight -> orchestrator: ok
car -> orchestrator: fail
orchestrator -> hotel: cancel (compensate)
orchestrator -> flight: cancel (compensate)
orchestrator -> client: trip aborted