06Change data capture and event delivery
Debezium Inbox and Outbox
Order and stock services use embedded Debezium, Kafka, and PostgreSQL to deliver events through inbox and outbox patterns.

How it works
- The outbox records events alongside local database updates. Embedded Debezium captures changes for delivery through Kafka.
- The receiving inbox records processed messages so they can be recognized on redelivery.
- The repository includes separate order and stock services and a Docker Compose setup for the supporting infrastructure.
Technology stack
Spring BootDebeziumApache KafkaPostgreSQLDocker Compose
Related projects
01/06Event-driven
Kafka Microservices with Saga
Event-driven order processing
Spring Boot services coordinate orders through Kafka and trigger compensating actions when a participating service fails.
02/06Data & caching
PostgreSQL Event Sourcing
Event store and CQRS
A ride-hailing application stores changes as events in PostgreSQL and uses CQRS to separate updates from queries.
Building something similar?

