We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public void removeListener(String key, String group, ConfigurationListener listener) { cacheListener.removeListener(key, listener); } @Override public String getConfig(String key, String group, long timeout) throws IllegalStateException { /** * when group is not null, we are getting startup configs from Config Center, for example: * group=dubbo, key=dubbo.properties */ if (StringUtils.isNotEmpty(group)) { key = group + "/" + key; } /** * when group is null, we are fetching governance rules, for example: * 1. key=org.apache.dubbo.DemoService.configurators * 2. key = org.apache.dubbo.DemoService.condition-router */ else { int i = key.lastIndexOf("."); key = key.substring(0, i) + "/" + key.substring(i + 1); } return (String) getInternalProperty(rootPath + "/" + key); }
addListener and getConfig used different path, so only one of the could get data from configcenter
Pls. provide [GitHub address] to reproduce this issue.
What do you expected from the above steps?
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Steps to reproduce this issue
addListener and getConfig used different path, so only one of the could get data from configcenter
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps?
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: