Distributed transaction framework for microservices, incubating at Apache
open sourceApache-2.0free
Apache Seata (Simple Extensible Autonomous Transaction Architecture) is a distributed transaction framework for microservices. A global transaction is made of branch transactions, usually local database transactions: a Transaction Manager begins and ends it, Resource Managers register each service's branch, and a Transaction Coordinator drives the global commit or rollback, with the transaction id propagated through the call chain. It grew from Alibaba's TXC and GTS and Ant Financial's XTS, was open-sourced as Fescar, and entered the Apache Incubator in October 2023. Java applications add it as a Maven dependency, with a Spring Boot starter.
Problems it solves
- keep data consistent when one business operation updates databases in several microservices
- roll back changes across services if one step of an order fails
- distributed transactions for a Spring Boot microservices system
Features
- global transactions made of branch transactions across microservices
- Transaction Coordinator that drives global commit or rollback
- transaction id propagated through the service call chain
- Spring Boot starter
Limitations
- Still incubating at the Apache Software Foundation.1
