org.apache.servicecomb.saga:saga-persistence-jpa

Eventual consistency component for distributed systems

Лицензия

Лицензия

Группа

Группа

org.apache.servicecomb.saga
Идентификатор

Идентификатор

saga-persistence-jpa
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Eventual consistency component for distributed systems
Организация-разработчик

Организация-разработчик

The Apache Software Foundation

Скачать saga-persistence-jpa

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.apache.servicecomb.saga/saga-persistence-jpa/ -->
<dependency>
    <groupId>org.apache.servicecomb.saga</groupId>
    <artifactId>saga-persistence-jpa</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.apache.servicecomb.saga/saga-persistence-jpa/
implementation 'org.apache.servicecomb.saga:saga-persistence-jpa:0.3.0'
// https://jarcasting.com/artifacts/org.apache.servicecomb.saga/saga-persistence-jpa/
implementation ("org.apache.servicecomb.saga:saga-persistence-jpa:0.3.0")
'org.apache.servicecomb.saga:saga-persistence-jpa:jar:0.3.0'
<dependency org="org.apache.servicecomb.saga" name="saga-persistence-jpa" rev="0.3.0">
  <artifact name="saga-persistence-jpa" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.apache.servicecomb.saga', module='saga-persistence-jpa', version='0.3.0')
)
libraryDependencies += "org.apache.servicecomb.saga" % "saga-persistence-jpa" % "0.3.0"
[org.apache.servicecomb.saga/saga-persistence-jpa "0.3.0"]

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter jar
org.springframework.boot : spring-boot-starter-aop jar
org.springframework.boot : spring-boot-starter-jdbc jar
javax.transaction : javax.transaction-api jar 1.2
org.springframework.data : spring-data-jpa jar
org.springframework : spring-aspects jar
org.eclipse.persistence : org.eclipse.persistence.jpa jar 2.7.1

Модули Проекта

Данный проект не имеет модулей.

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.

org.apache.servicecomb.saga

The Apache Software Foundation

Версии библиотеки

Версия
0.3.0
0.2.1
0.2.0
0.1.0