You need a way to conduct transactions that transcend services since some business transactions cross numerous services.
Each business transaction that involves several services is a drama to implement. A series of local transactions make up a saga. Every local transaction in the saga modifies the database and broadcasts a message or event to start the subsequent local transaction. A sequence of compensatory transactions are carried out by the system in the event that a local transaction fails because it broke a business rule, undoing the modifications that the previous local transactions had done.
To support the channel : https://paypal.me/helloKrish
Facebook: https://www.facebook.com/Krish.Dinesh.Official/
Instagram : https://www.instagram.com/krish.dinesh.official/
twitter: https://twitter.com/krishantha (@Krishantha)
#krishdinesh #microservices #saga