Compensating Transactions For Saga Pattern Error Handling

Published: 14 July 2023
on channel: Milan Jovanović
9,008
320

☄️ 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  

If you're using the Saga pattern, you need to prepare for things going wrong. What will you do in that case? The standard approach is to start a compensating transaction that will fix the previous error in the saga.

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 Reviewing the Saga implementation
3:20 What if something goes wrong?
4:39 The reasons why a Saga can fail
5:47 Starting a compensating transaction
9:35 Cancelling the Order to complete the failure path
12:52 Saga error handling walkthrough


Watch video Compensating Transactions For Saga Pattern Error Handling online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 14 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,008 once and liked it 320 people.