Apache Seata(incubating) Samples for Java

Clone this repo:
  1. 8411da3 bugfix:In XA mode, inserting data into PostgreSQL using (#717) by shukai · 4 weeks ago master
  2. dcce531 optimize: Annotations adjusted to English (#718) by shukai · 3 months ago
  3. a8714ae bugfix:XA mode feature requires passing xid (#702) by shukai · 3 months ago
  4. ca73bd9 add SagaAnnotation sample (#712) by funkye · 6 months ago
  5. d8ea5cf Add license header for incubator-seata-samples (#711) by YoWuwuuuw · 7 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