can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group

报错如下:

can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第1张图片

 nacos情况

can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第2张图片

项目的registry.conf是从seata配置中复制出来的

can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第3张图片

can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第4张图片

错误原因:

命令行 seata_group复制出来是小写   而配置文件registry.conf的是大写。一直没怀疑是注册命令的问题。改成

sh nacos-config.sh -h localhost -p 8848 -g SEATA_GROUP -t 8f644eba-7831-4751-95d7-4715f43ab912

 如果有类似问题可以跑一下seata和nacos的源码,下载一下protobuf Support的插件

can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第5张图片

很多博客要下载这个插件但是我的idea一下载这个连idea都打不开了,我不需要下载这个插件

 can not get cluster name in registry config ‘service.vgroupMapping.my_test_tx_group_第6张图片

你可能感兴趣的:(java,开发语言)