Skip to content

Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices

License

Notifications You must be signed in to change notification settings

daneshzaki/tashkent

Repository files navigation

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.

About

Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published