摘要: 接下来配置客户端(业务代码) 上篇:seata解决多服务分布式事务(上) 一、引入maven依赖 <!--注册中心客户端--> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-ali 阅读全文
posted @ 2022-02-11 14:34 炫舞风中 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 首先查看阿里的版本对应关系:版本说明 此次采用的是1.2.0版本的seata 一、下载seata服务端 1、下载地址 https://github.com/seata/seata/releases 2、配置file.conf 设置服务端存储方式为db,并配置数据库连接地址和用户名密码(此处选择mys 阅读全文
posted @ 2022-02-11 12:01 炫舞风中 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 参考地址:分布式事务 一、引入maven依赖 <!--添加atomikos--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jta-atomikos</artifa 阅读全文
posted @ 2022-02-11 10:31 炫舞风中 阅读(515) 评论(0) 推荐(0) 编辑