Skip to content

Example of Apache Seata-managed distributed transactions across multiple Spring Boot microservices

Notifications You must be signed in to change notification settings

biagioT/apache-seata-spring-boot-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seata the deal: no more distributed transaction nightmares across (Spring Boot) microservices

Example of Apache Seata-managed distributed transactions across multiple Spring Boot microservices

image

Setup

Infra components

Go to infra folder:

docker compose up

This will start:

  • MySQL (with the tables needed for Seata Server).
  • Seata Server.
  • Grafana, Prometheus and Tempo for observability.

Microservices

Foe each microservice folder (bff, credit-api and shipping-api) run:

./gradlew bootRun

This will start:

  • microservice
  • the dedicated db (MariaDB for credit-api and PostgreSQL for shipping-api)

Observability

OpenAPI

Microservices OpenAPI:

About

Example of Apache Seata-managed distributed transactions across multiple Spring Boot microservices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages