You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2019/08/13 03:37:45 UTC
[GitHub] [dubbo-proxy] qixiaobo commented on issue #21: Not support multi
address to register
qixiaobo commented on issue #21: Not support multi address to register
URL: https://github.com/apache/dubbo-proxy/issues/21#issuecomment-520676243
I had look this code below
```java
@Bean
Registry getRegistry() {
URL url = URL.valueOf(registryAddress);
if (StringUtils.isNotEmpty(group)) {
url = url.addParameter(Constants.GROUP_KEY, group);
}
RegistryFactory registryFactory = ExtensionLoader.getExtensionLoader(RegistryFactory.class).getAdaptiveExtension();
Registry registry = registryFactory.getRegistry(url);
return registry;
}
```
You should know this URL.valueof may parse port .
So it makes our application fail to start
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org