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.
- Host: GitHub
- URL: https://github.com/ahmadalammar/orders-managment
- Owner: ahmadalammar
- Created: 2022-12-26T07:18:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-20T10:10:22.000Z (over 2 years ago)
- Last Synced: 2024-01-20T11:23:22.140Z (over 2 years ago)
- Topics: camel, java, kafka, microservices, spring-boot
- Language: Java
- Homepage:
- Size: 284 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

## 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`