seata 1.2/seata1.3/seata1.4.2问题坑点

1.can not get cluster name in registry config ‘service.vgroupMapping.account-service-fescar-service-group’, please mak
2.no available service found in cluster ‘devCluster’, please make sure registry config corr

这类都是配置有误,读取不到正确位置的配置
1.namespace
2.group
//此处my_test_tx_group的值是seata-server registry.conf文件中注册nacos的cluster的值
//my_test_tx_group则是自定义的
3.tx-service-group: my_test_tx_group
正确示例
seata.enabled=true
//此处nacos配置列表中对应service.vgroupMapping.my_test_tx_group 
seata.tx-service-group=my_test_tx_group
seata.config.type=nacos
seata.config.nacos.namespace=3dd0cb51
//todo 配置文件所在的组
seata.config.nacos.group=SEATA_GROUP
seata.config.nacos.server-addr=127.0.0.1:8848
seata.registry.type=nacos
seata.registry.nacos.namespace=3dd0cb51
//todo 此处COMMON组要和seata-server是一个组,因为是要注册TC,尤其是问题2会抛此错误,
//源码中是在nacos中找不到对应seata-server服务
seata.registry.nacos.group=COMMON
seata.registry.nacos.server-addr=127.0.0.1:8848
seata.registry.nacos.application=seata-server

问题2 devCluster对应seata-server registry.conf文件中注册nacos的cluster的值以及
nacos配置列表service.vgroupMapping.my_test_tx_group 的值

你可能感兴趣的:(seata,seata坑点,seata1.4.2)