Skip to content

Simple microservices to demo some concepts: EDA, CQRS, Event Sourcing, Saga Pattern

License

Notifications You must be signed in to change notification settings

uuhnaut69/axon-saga-pattern-microservices

Repository files navigation

Saga Pattern Microservices

Simple order flow to demo concept based on Spring, Axon-Framework

  • Event driven architecture
  • Event sourcing
  • CQRS
  • Saga pattern (Orchestration)

Prerequisites

  • Java 16
  • Docker
  • Docker-compose

Get Started

Setup environment

docker-compose up -d

Build projects

./mvnw clean install package -DskipTests=true

Start Services

Run services order-service, customer-service, inventory-service

./mvnw -f order-service/pom.xml spring-boot:run
./mvnw -f customer-service/pom.xml spring-boot:run
./mvnw -f inventory-service/pom.xml spring-boot:run
Service's name URL
Order service localhost:8090
Customer service localhost:8092
Inventory service localhost:8091

About

Simple microservices to demo some concepts: EDA, CQRS, Event Sourcing, Saga Pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages