Simple order flow to demo concept based on Spring
, Axon-Framework
- Event driven architecture
- Event sourcing
- CQRS
- Saga pattern (Orchestration)
Java 16
Docker
Docker-compose
docker-compose up -d
./mvnw clean install package -DskipTests=true
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 |