Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

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

Notifications You must be signed in to change notification settings

ahmadalammar/orders-managment

Repository files navigation

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages