Skip to content

Example microservices showing how to use Kafka and Kafka Streams with Spring Boot on the example of distributed transactions implementations with the SAGA pattern

License

Notifications You must be signed in to change notification settings

piomin/sample-spring-kafka-microservices

 
 

Repository files navigation

Microservices with Spring Boot and Kafka Demo Project Twitter

Articles

This repository is used as the example for the following articles:

  1. Distributed Transactions in Microservices with Kafka Streams and Spring Boot - how to implement distributed transaction based on the SAGA pattern with Spring Boot and Kafka Streams

Description

There are three microservices: order-service - it sends Order events to the Kafka topic and orchestrates the process of a distributed transaction payment-service - it performs local transaction on the customer account basing on the Order price stock-service - it performs local transaction on the store basing on number of products in the Order

Here's the diagram with our architecture:

image

About

Example microservices showing how to use Kafka and Kafka Streams with Spring Boot on the example of distributed transactions implementations with the SAGA pattern

Topics

Resources

License

Stars

Watchers

Forks

Languages