SAGA pattern provides a way to roll back the changes made by each microservice.
▪ If the Inventory microservice encountered an error while reserving the items in the customer's order, it could
publish a failure event to the message broker.
▪ Order fulfillment microservice would then execute a compensating transaction to undo the charges to the
customer's payment method and cancel the order.