Apache ServiceComb Saga
Clone or download
anvithks and WillemJiang [SCB-935] Saga transaction management console UI initial commit (#317)
* Saga transaction management console UI initial commit

* Removed unnecessary files and updated the icons.

* Updated dashboard as per new ALpha API's.

* Fixed some UI style issues.

* Fixed spelling error.

* Updated ASF headers. removed commented code.

* Docker image reference changed.

* Updated the Readme file.

* Added missing license information

* Added license copies. Added usage information and version number.

* Updated license information in the scss files.
Latest commit 96b1514 Dec 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github SCB-130 Updated the Github PR template Dec 26, 2017
acceptance-tests SCB-923 Using the tcc/events services in tcc accept test Sep 21, 2018
alpha SCB-1029 Extended size of compensationMethod file Dec 13, 2018
docker-build-config Moved the project version 0.3.0-SNAPSHOT Jun 5, 2018
docs SCB-973 Updated the Readme files for the ServiceComb graduction Nov 9, 2018
integration-tests Clean up the pack-test pom.xml Aug 7, 2018
omega SCB-817 Fixed the event type name issues Dec 10, 2018
pack-common SCB-817 Updated the TCC grpc contract file Aug 22, 2018
pack-contracts SCB-817 Updated the TCC protocol for CoordinatedEvent Aug 28, 2018
saga-core-akka SCB-962 transaction support retries parameter. Oct 24, 2018
saga-core SCB-962 transaction support retries parameter. Oct 24, 2018
saga-demo [SCB-935] Saga transaction management console UI initial commit (#317) Dec 14, 2018
saga-discovery SCB-692 Fix the integration error of dependency-free-transaction-demo Jul 27, 2018
saga-distribution [SCB-935] Saga transaction management console UI initial commit (#317) Dec 14, 2018
saga-format SCB-962 transaction support retries parameter. Oct 24, 2018
saga-performance SCB-692 Restore the old sage files Jul 27, 2018
saga-persistence [SCB-806] Polish alpha-server logger setting Aug 6, 2018
saga-spring SCB-820 Updated the pom setting with docker Nov 8, 2018
saga-web [SCB-935] Saga transaction management console UI initial commit (#317) Dec 14, 2018
scripts Deploy the artifacts without enable the docker plugin Nov 19, 2018
transports SCB-692 Restore the old sage files Jul 27, 2018
.gitignore Updated the .gitingore May 26, 2018
.travis.settings.xml Add Release Server ID Mar 6, 2018
.travis.yml Publish the snapshot without running test Oct 16, 2018
CONTRIBUTING.md Fixed the Contributing.md typo Jun 1, 2018
FAQ.md Add a FAQ list Mar 27, 2018
FAQ_ZH.md Add a FAQ list Mar 27, 2018
LICENSE Initial commit Jul 18, 2017
NOTICE Updated NOTICE files Mar 10, 2018
README.md Polish the README files. Dec 10, 2018
README_ZH.md Polish the README files. Dec 10, 2018
ROADMAP.md Updated the ROAMAP with latest add tasks Nov 1, 2018
gpg-sec.tar.enc Prepare 1.0.0-m1 Release Mar 6, 2018
pom.xml SCB-1018 Upgrade spring boot version to 1.5.17, 2.0.6 Nov 11, 2018

README.md

Pack | 中文 Build Status Coverage StatusMaven Central License Gitter

Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications.

Features

  • High availability. The coordinator is stateless and thus can have multiple instances.
  • High reliability. All transaction events are stored in database permanently.
  • High performance. Transaction events are reported to coordinator via gRPC and transaction payloads are serialized/deserialized by Kyro.
  • Low invasion. All you need to do is add 2-3 annotations and the corresponding compensate methods.
  • Easy to deploy. All components can boot via docker.
  • Support both forward(retry) and backward(compensate) recovery.
  • Easy to extend other coordination protocol which is based on the Pack, now we have Saga and TCC support out of box.

Architecture

ServiceComb Pack is composed of alpha and omega.

  • The alpha plays as the coordinator. It is responsible for the management of transactions.
  • The omega plays as an agent inside the micro-service. It intercepts incoming/outgoing requests and reports transaction events to alpha.

The following diagram shows the relationships among alpha, omega and services. Pack Architecture

In this way, we can implement different coordination protocols, such as saga and TCC. See ServiceComb Pack Design for details.

Now we have different lanaguage implementation of Omega

Get Started

  • For ServiceComb Java Chassis application, please see Booking Demo for details.
  • For Spring applications, please see Booking Demo for details.
  • For Dubbo applications, please see Dubbo Demo for details.
  • For TCC with Spring application, please see Tcc Demo for details.
  • To debug the applications, please see Spring Demo Debugging for details.

Build and Run the tests from source

  • Build the source code and run the tests
       $ mvn clean install
  • Build the source demo docker images and run the accept tests
       $ mvn clean install -Pdemo,docker
  • Build the source code and docker images without running tests
       $ mvn clean install -DskipTests=true -Pdemo,docker
  • Current ServiceComb Pack code supports Spring Boot 1.x and Spring Boot 2.x at the same time, saga uses Spring Boot 1.x by default, you can use -Pspring-boot-2 to switch Spring Boot version to 2.x. Since Spring Boot supports JDK9 since 2.x, if you want to build and run test the Saga with JDK9 or JDK10, you need to use the spring-boot-2 profile.
       $ mvn clean install -Pdemo,docker,spring-boot-2

User Guide

How to build and use can refer to User Guide.

Get The Latest Release

Download Pack

FAQ

Contact Us

Contributing

See Pull Request Guide for details.

Stargazers over time

Stargazers over time

License

Licensed under an Apache 2.0 license.