Blog post: Compensating Actions, Part of a Complete Breakfast with Sagas

I wrote an article explaining the Compensating Actions Design Pattern, which is an important part of the Saga design pattern (and how to implement it in Temporal), why/when you’d want to use it, and how to implement it in Temporal with four different languages: Java, TypeScript, Python, and Go.
This is the first of a multi-part series. Enjoy!

1 Like

The second post in this series is now up: “Saga Pattern Made Easy” I hope it’s helpful!

Also made a video series, where we’re live-coding up these. The first one, in Java, is out: Temporal Unscripted: Compensating Actions in Java - YouTube