Reputation: 1454
I have multiple microservice say A, B, and C. A is the starting service that performs some operations and triggers B's endpoint which performs some operation and calls C's endpoint. If something goes wrong at C, all other means A and B work should be rolled back.
A few days ago I heard about using the SAGA pattern to achieve this, is there any SAGA implementation available in the market? Or any other approach to handle this scenario.
Upvotes: 1
Views: 65
Reputation: 1184
You may check out the Axon framework. See https://docs.axoniq.io/reference-guide/implementing-domain-logic/complex-business-transactions/implementing-saga
Upvotes: 1