1.事务模式:
AT:https://seata.io/zh-cn/docs/dev/mode/at-mode.html
TCC:https://seata.io/zh-cn/docs/dev/mode/tcc-mode.html
Saga:https://seata.io/zh-cn/docs/user/saga.html
SA:https://seata.io/zh-cn/docs/dev/mode/xa-mode.html
2.事务分组: https://seata.io/zh-cn/docs/user/txgroup/transaction-group.html
seata配置中遇到的问题总结:
1.需要配置代理数据源
2.事务传播(xid)是否被破坏
例如有 WebMvcConfigurationSupport或者其他导致分支事务中获取不到RootContext.KEY_XID。解决方式就是添加SeataHandlerInterceptor保证事务传播。