Saga Distributed Transaction Pattern - Spring boot + embedded debezium + kafka + inbox-outbox pattern
Medium article link -> Medium Link.
Spring Boot
Changes Data Capture (CDC) with embedded debezium
Inbox-Outbox Pattern ( Inbox For Exactly once semantic - Outbox for CDC)
Apache Kafka ( Data streaming )
PostgreSQL
We can easily run the whole with only a single command:
docker-compose up -d
./order-microservice
mvn spring-boot:run
./stock-microservice
mvn spring-boot:run