tashkent
tashkent copied to clipboard
Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices
tashkent
Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices
Demo MicroServices
- Order Creation
- Invoice Check
- Stock Replenish
- Order Shipment
Messages: "order created!", "stock replenished!" & "ship order!"
Input: Order creation by POST method call to Order Creation service
Process Flow: order create --> inventory check --> stock replenish (or) order shipment --> order delivery
Output: Order Shipped
This post describes the high level flow and this post describes the compensation logic.