LazyMonkey1992 opened a new issue #9350:
URL: https://github.com/apache/dubbo/issues/9350
类org.apache.dubbo.config.AbstractInterfaceConfig中的
方法 private void prepareEnvironment() 中的
` if (StringUtils.isNotEmpty(appGroup)) {
//
这里获取的是/dubbo/config/dubbo-demo-consumer/dubbo.properties节点中的内容
// todo 这里有bug
appConfigContent = dynamicConfiguration.getProperties
(StringUtils.isNotEmpty(configCenter.getAppConfigFile()) ?
configCenter.getAppConfigFile() : configCenter.getConfigFile(),
appGroup
);
}`
注释的地方的方法作用是获取我们在配置中心配置的单个实例的配置内容,正确路径应该为
/dubbo/config/dubbo/dubbo-demo-consumer/dubbo.properties
实际上为
/dubbo/config/dubbo-demo-consumer/dubbo.properties
导致获取不到配置的内容
--
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]