01Event-driven order processing
Kafka Microservices with Saga
Spring Boot services coordinate orders through Kafka and trigger compensating actions when a participating service fails.

How it works
- The order service publishes a new order event. Participating services process it independently and publish their results.
- Kafka Streams joins the results. The order service publishes a rollback event if any participant reports failure.
- A notification service consumes the final order status. Success and failure scenarios are configurable.
Technology stack
JavaSpring BootApache KafkaKafka StreamsDocker
Related projects
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.
03/06Data & caching
Redis Caching with Spring Boot
Service-layer caching
Redis reduces repeated database reads, and writes invalidate affected cache entries.
Building something similar?

