MrZbb opened a new issue, #11794: URL: https://github.com/apache/dubbo/issues/11794
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## 之前dubbo 2.7的时候泛化调用的时候,注册中心地址是开放给用户输入的referenceConfig.setRegistry,类似下面这种 ` ReferenceConfig<GenericService> referenceConfig = new ReferenceConfig<>(); referenceConfig.setInterface("com.demo.test"); referenceConfig.setTimeout(2000000); referenceConfig.setRetries(0); referenceConfig.setRegistry(new RegistryConfig("zookeeper://127.0.0.1")); referenceConfig.setGeneric("true"); referenceConfig.setTimeout(7000); GenericService genericService = referenceConfig.get(); Map<String,String> map = new HashMap<>(); Object result = genericService.$invoke("captcha", new String[]{"com.base.Req"}, new Object[]{map}); System.out.println("captcha(return):"+result);` 将dubbo升级到3.0.10后,这个referenceConfig.setRegistry用户输入的值无效,会在运行的时候被替换成应用本身的注册中心地址,所以想问下,dubbo3.0.10后泛化调用不再支持这些注册中心参数开放给用户了?需要在应用的配置源里定义好多个注册中心的id,让用户只能选择匹配的registryId去做关联才行吗 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
