You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
975 B
34 lines
975 B
# seata配置项,对应SeataProperties类 |
|
seata: |
|
enabled: true |
|
# Seata应用编号 |
|
application-id: ${spring.application.name} |
|
# seata事务组编号,用于TC集群名 |
|
tx-service-group: default_tx_group |
|
# seata服务配置项,对应ServiceProperties类 |
|
config: |
|
type: nacos |
|
nacos: |
|
# Nacos 命名空间 |
|
namespace: kicc-seata |
|
# Nacos分组名称 |
|
group: SEATA_GROUP |
|
# nacos服务地址 |
|
server-addr: ${spring.cloud.nacos.discovery.server-addr} |
|
service: |
|
# 虚拟组和分组的映射 |
|
vgroup-mapping: |
|
default_tx_group: default |
|
# seata注册中心配置项,对应RegistryProperties类 |
|
registry: |
|
# 注册中心类型,默认为file |
|
type: nacos |
|
nacos: |
|
# 使用的seata分组 |
|
cluster: default |
|
# Nacos命名空间 |
|
namespace: kicc-seata |
|
# Nacos分组名称 |
|
group: SEATA_GROUP |
|
# Nacos服务地址 |
|
serverAddr: ${spring.cloud.nacos.discovery.server-addr}
|
|
|