Microservices, Microservice Patterns, Microservicesarchitecture, Saga Pattern.
Listens on the “Inventory Events” queue for inventory status updates. Upon receiving an ‘inventory update failed’ event, it compensates by initiating a refund process. Updates the payment status to REFUNDED in the “Payment’s Database”. Publishes a ‘payment refund initiated’ event to the “Payment