- Kafka: Event Store & Event Bus
- Order
- Payment
- Shipment
- Command-Side:
- handle command request
- write events to Kafka
- Query-Side:
- consume events from Kafka to build data view
- return query request
- Event-Handler
- consume events from Kafka to send command request to Command-side
The dependency container will run in the docker by spring-boot-docker-support
so you can run the App by IDE directly.
- install nektos/act (https://github.com/nektos/act)
- run docker deamon
- for mac with M2 chip
act -j e2e-test --container-architecture linux/amd64
- for normal linux based kernel
act -j e2e-test
server | swagger url |
---|---|
Order Command | https://localhost:8081/swagger-ui/index.html |
Order Handler | https://localhost:8082/swagger-ui/index.html |
Order Query | https://localhost:8083/swagger-ui/index.html |
Payment Command | https://localhost:9081/swagger-ui/index.html |
Payment Handler | https://localhost:9082/swagger-ui/index.html |
Payment Query | https://localhost:9083/swagger-ui/index.html |
Shipment Command | https://localhost:10081/swagger-ui/index.html |
Shipment Handler | https://localhost:10082/swagger-ui/index.html |
Shipment Query | https://localhost:10083/swagger-ui/index.html |
Grafana | https://localhost:3200 |
Prometheus | https://localhost:9090 |