Apache Seata(incubating) Samples for Java

Clone this repo:
  1. ca73bd9 add SagaAnnotation sample (#712) by funkye · 2 months ago master
  2. d8ea5cf Add license header for incubator-seata-samples (#711) by YoWuwuuuw · 3 months ago
  3. d1d3c8e add license header and dependency check (#710) by jimin · 3 months ago
  4. 0b50f46 optimize: fix ci test (#709) by Jingliu · 3 months ago
  5. b912238 add license header (#708) by jimin · 3 months ago

samples code specification

Directory Structure

The first and second levels are more of a directory

Top level: seata-samples

Second layer: at-sample, tcc-sample, saga-sample, xa-sample

Third floor, The third layer is the specific sample and the naming convention is as follows:

naming

naming with framework: spring-nacos-seata, springboot-naocs-zk-seata ...

dependency

pom: The dependencies of each sample should be independent and should not depend on the dependencies of the parent pom of seata samples.

samples transaction model

https://seata.apache.org/docs/user/quickstart/

start sequence

1、account

2、storage

3、order

4、business