在文件bootstrap-cqa.properties
spring.cloud.nacos.config.server-addr=172.16.99.96:8848,172.16.99.97:8848,172.16.99.98:8848
spring.cloud.nacos.discovery.server-addr=172.16.99.96:8848,172.16.99.97:8848,172.16.99.98:8848
#spring.cloud.nacos.discovery.namespace=f447e0fa-696c-4128-abe9-3ead79d3e2ce,22587135-f1e1-4691-9c58-b9646c673753,67fc792f-b501-4f04-b479-64df8d206c79
#>>>>>>>>>>>>>>>>>>>> dubbo多注册中心 开始>>>>>>>>>>>>>>>>>>>>
# 非常重要必须声明当前为多选方法
#dubbo.config.multiple=true
# 默认注册中心
#dubbo.registries.r1.default=true
#dubbo.registries.r1.preferred=true
# 注册中心1 命名为r1
dubbo.registries.r1.protocol=dubbo
dubbo.registries.r1.client=nacos
dubbo.registries.r1.address=nacos://172.16.99.96:8848
dubbo.registries.r1.parameters.namespace=f447e0fa-696c-4128-abe9-3ead79d3e2ce
dubbo.registries.r1.parameters.username=nacos
dubbo.registries.r1.parameters.password=nacos
# 注册中心2 命名为r2
dubbo.registries.r2.protocol=dubbo
dubbo.registries.r2.client=nacos
dubbo.registries.r2.address=nacos://172.16.99.97:8848
dubbo.registries.r2.parameters.namespace=22587135-f1e1-4691-9c58-b9646c673753
dubbo.registries.r2.parameters.username=nacos
dubbo.registries.r2.parameters.password=nacos
# 注册中心3 命名为r3
dubbo.registries.r3.protocol=dubbo
dubbo.registries.r3.client=nacos
dubbo.registries.r3.address=nacos://172.16.99.98:8848
dubbo.registries.r3.parameters.namespace=67fc792f-b501-4f04-b479-64df8d206c79
dubbo.registries.r3.parameters.username=nacos
dubbo.registries.r3.parameters.password=nacos