Creating a State Machine Saga With MassTransit (Orchestrated Saga)
Milan Jovanović
0:00 / 0:00
Creating a State Machine Saga With MassTransit (Orchestrated Saga)
31 319 просмотров · 2 года назад
Milan Jovanović
168 тыс. подписчиков
31 319 просмотров · 2 года назад
Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/mas...
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: / milanjovanovic
A well-known pattern for solving distributed transactions is the Saga pattern. A saga is a sequence of local transactions, where each local transaction updates the Saga state and publishes a message triggering the next step in the Saga. In this video, I'll show you how to create an orchestrated Saga state machine using MassTransit with RabbitMQ for message transport and PostgreSQL for saga persistence.
Implementing The Saga Pattern With Rebus And RabbitMQ
https://www.milanjovanovic.tech/blog/...
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
/ @milanjovanovictech
Chapters
0:00 Setting the scene, adding Saga steps
3:52 Defining the Saga state
5:22 Creating the State Machine Saga
10:21 Configuring the Saga with MassTransit
12:29 Testing the State Machine Saga