Search⌘ K

Implementing Distributed Transactions with Sagas

Learn to implement distributed transactions using Sagas by updating packages and creating an orchestrator.

To organize the order creation process as a saga, we will be introducing additional functionality in the form of an SEC. These are the items we will be building or modifying to accomplish this task:

  • We will update the ddd and am packages so that they include the new Command and Reply message types.

  • We will create a new sec package that will be the home for an orchestrator and saga definitions and implementations.

Now, let’s dive into ...