Apache ServiceComb Saga Actuator

Clone this repo:

Branches

Tags

  1. 13e30be Polish the README.md file by Willem Jiang · 12 months ago master
  2. 052dcb4 SCB-1082 Fixed the demo test error on Mac OSX by Willem Jiang · 12 months ago
  3. 14b724c Updated the project version to 0.4.0-SNAPSHOT by Willem Jiang · 12 months ago
  4. 649445d Cut 0.3.0 Release by asifdxtreme · 12 months ago 0.3.0
  5. 755ee89 Update the License Files by asifdxtreme · 12 months ago

Saga Actuator Build Status Coverage Status License

Purpose

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. Saga actuator provides a centralized execution engine to delegate the request to the outside services to provide eventual data consistency in Saga way.

Documentation

Reference documentation is available on the ServiceComb website.

Major Architecture of Saga

  • saga-core(transaction and compensation handling logic)
  • saga-core-akka(leverage the actor for executor)
  • saga-format(data serialization and deserialization)
  • saga-transports(communication protocol implementation such as rest or rpc in the future)
  • saga-discovery(service discovery)
  • saga-spring(restful service framework)

Saga

Prerequisites

You will need:

  1. Oracle JDK 1.8+
  2. Maven 3.x
  3. Docker

Building

Download the source code.

git clone https://github.com/apache/servicecomb-saga-actuator

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

Reference API

See Saga API for details.

Example

See Saga demo for details.

Contact

Contributing

See Pull Request Guide for details.

Reporting Issues

See reporting bugs for details about reporting any issues.