Apache Seata(incubating) Samples for Java

Clone this repo:
  1. dcce531 optimize: Annotations adjusted to English (#718) by shukai · 4 weeks ago master
  2. a8714ae bugfix:XA mode feature requires passing xid (#702) by shukai · 6 weeks ago
  3. ca73bd9 add SagaAnnotation sample (#712) by funkye · 4 months ago
  4. d8ea5cf Add license header for incubator-seata-samples (#711) by YoWuwuuuw · 5 months ago
  5. d1d3c8e add license header and dependency check (#710) by jimin · 5 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