All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.flood-spring-cloud-starter-seata.2.7.10.0.source-code.cloud-seata.yml Maven / Gradle / Ivy

There is a newer version: 2.7.14.0
Show newest version
# Seata 配置项,对应 SeataProperties 类
seata:
  application-id: account-server # Seata 应用编号,默认为 ${spring.application.name}
  tx-service-group: cloud_tx_group # Seata 事务组编号,用于 TC 集群名
  # Seata 服务配置项,对应 ServiceProperties 类
  config:
    type: nacos
    nacos:
      group: SEATA_GROUP
      namespace:
      server-addr: ${spring.cloud.nacos.discovery.server-addr} # Nacos 服务地址
  service:
    # 虚拟组和分组的映射
    vgroup-mapping:
      cloud_tx_group: default
  # Seata 注册中心配置项,对应 RegistryProperties 类
  registry:
    type: nacos # 注册中心类型,默认为 file
    nacos:
      cluster: default # 使用的 Seata 分组
      namespace: # Nacos 命名空间
      serverAddr: ${spring.cloud.nacos.discovery.server-addr} # Nacos 服务地址
  enabled: true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy