seata配置
This commit is contained in:
parent
4c84214cd2
commit
915dd648f3
@ -82,7 +82,6 @@
|
||||
<artifactId>jedis</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
@ -113,12 +112,30 @@
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--Feign远程调用-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--alibaba微服务整合分布式事务seata-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.seata</groupId>
|
||||
<artifactId>seata-spring-boot-starter</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.seata</groupId>
|
||||
<artifactId>seata-spring-boot-starter</artifactId>
|
||||
<version>1.3.0</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@ -33,3 +33,11 @@ logging:
|
||||
root: INFO
|
||||
|
||||
|
||||
#seata配置
|
||||
seata:
|
||||
tx-service-group: ${spring.application.name}-group
|
||||
service:
|
||||
grouplist:
|
||||
xdclass: 134.175.219.253:8091
|
||||
vgroup-mapping:
|
||||
xdclass-coupon-service-group: xdclass
|
@ -51,3 +51,11 @@ minio:
|
||||
bucketName: xdclass-shop-image
|
||||
|
||||
|
||||
#seata配置
|
||||
seata:
|
||||
tx-service-group: ${spring.application.name}-group
|
||||
service:
|
||||
grouplist:
|
||||
xdclass: 134.175.219.253:8091
|
||||
vgroup-mapping:
|
||||
xdclass-user-service-group: xdclass
|
Loading…
Reference in New Issue
Block a user