You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "liunancun (GitHub)" <gi...@apache.org> on 2019/10/28 08:34:45 UTC

[GitHub] [dubbo-spring-boot-project] liunancun opened issue #622: Is the multiple registry configuration prefix dubbo.registrys or dubbo.registries?

Is the multiple registry configuration prefix dubbo.registrys or dubbo.registries?

use:
dubbo.registrys.one.address=nacos://192.168.99.237:8848
dubbo.registrys.two.address=nacos://localhost:8848

Start error:
java.lang.IllegalStateException: No registry config found or it's not a valid config! The registry config is: <dubbo:registry valid="false" zookeeperProtocol="false" prefix="dubbo.registry" />

use:
dubbo.registries.one.address=nacos://192.168.99.237:8848
dubbo.registries.two.address=nacos://localhost:8848

Successful startup

But Spring Boot configuration file warning:
'dubbo.registries.one.address' is an unknown property.



[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/622 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [dubbo-spring-boot-project] mercyblitz commented on issue #622: Is the multiple registry configuration prefix dubbo.registrys or dubbo.registries?

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
`dubbo.registries` is the valid prefix for the multiple RegistryConfig binding.

[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/622 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org