1

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.

1
  • Hi, and welcome to stackoverflow. Your question as it stands is unlikely to attract a good answer and so will probably be closed. Questions should relate to specific programming problems. Please read stackoverflow.com/help/how-to-ask Commented Nov 25, 2019 at 14:31

1 Answer 1

1

You may check out the Axon framework. See https://docs.axoniq.io/reference-guide/implementing-domain-logic/complex-business-transactions/implementing-saga

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, @Micahael. This article looks interesting.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.