seata 1.8.0 can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct

发布时间 2024-01-08 20:26:49作者: 任国强

* [调式源码解决 seata 报错 can not get cluster name 问题 - 掘金](https://juejin.cn/post/7203377276557885498)

seata:
  enabled: true
  application-id: ${spring.application.name}
  tx-service-group: default_tx_group
  config:
    type: nacos
    nacos:
      serverAddr: 127.0.0.1:8848
      dataId: "application.yml"
      username: 'nacos'
      password: 'nacos'
  registry:
    type: nacos
    nacos:
      application: seata-server
      server-addr: 127.0.0.1:8848
      username: 'nacos'
      password: 'nacos'
配置管理
public
|nsweb
|nsstart
|nsfairbeautycrm
|nsfairbeautycrmtest
查询到 2 条满足要求的配置。