An open API service indexing awesome lists of open source software.

https://github.com/ahmadalammar/orders-managment

Simple event-driven distributed system that simulate order management system using spring-cloud, spring-native, apache-camel and saga design pattern.
https://github.com/ahmadalammar/orders-managment

camel java kafka microservices spring-boot

Last synced: 4 months ago
JSON representation

Simple event-driven distributed system that simulate order management system using spring-cloud, spring-native, apache-camel and saga design pattern.

Awesome Lists containing this project

README

          

# Orders Managment Microservices

## Intro
In this example we will design a simple event-driven distrbuted system that simulate order managment system using spring-cloud, spring-native, apache-camel and saga design pattern.
This is just a show case on how to use apache camel with saga in microservices.

## System design
![Screenshot 2024-01-20 at 6 02 54 PM](https://github.com/ahmadalammar/orders-managment/assets/17546520/12b88c1f-bc0f-47a4-ad56-0f10edf9a6b3)

## System Install
* Start kafka server by running:
`cd kafka-server`
`docker-compose up -d`

* Start LRA coordinator:
`cd narayana-lra-coordinator`
`java -Dquarkus.http.port=50000 -jar target/quarkus-app/quarkus-run.jar`

* Run `discovery-server`, `customer-service`, `gateway-service`, `order-service`

* Run simple API test by calling `http://localhost:9999/api/order`