Saga is a type of Compensating Transaction pattern, which provides a simple way to help users solve the data consistency problems encountered in micro-service applications.
Reference documentation is available on the ServiceComb website.
You will need:
Download the source code.
git clone https://github.com/ServiceComb/saga.git
Enter the Saga root directory,biuld Saga project by maven command and generate a docker image named saga-spring in local.
mvn package -DskipTests -Pdocker
A docker-compose.yaml
file is provided to start Saga services and its dependencies(Service center and Mysql) as docker containers. User also can configure specified Service center or Mysql in docker-compose.yaml
.
Enter the Saga root directory, run all service images using command,
docker-compose up
See Saga API for details.
See Saga demo for details.
Bugs: issues.
Mailing lists: users , developers
See Pull Request Guide for details.
See reporting bugs for details about reporting any issues.