Apache Seata(incubating) Samples for Java

Clone this repo:
  1. d06477f optimize: add logback.xml (#679) by jimin · 23 hours ago master
  2. 651c8af optimize: optimize spring-seata sample (#678) by jimin · 33 hours ago
  3. 56bc1a8 bugfix: bump rpc-sofa-boot-starter version to latest (#675) by Xiangkun Yin · 12 days ago
  4. 199bdb4 bugfix: xa transfer error explicitly (#659) by Xiangkun Yin · 3 weeks ago
  5. 18c1d17 optimize: update codeql and ci (#660) by Xiangkun Yin · 3 weeks 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