Skip to content
New issue

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

关于文档【Nacos 客户端寻址】的反馈 #851

Open
sumingsoftware opened this issue Dec 11, 2024 · 1 comment
Open

关于文档【Nacos 客户端寻址】的反馈 #851

sumingsoftware opened this issue Dec 11, 2024 · 1 comment

Comments

@sumingsoftware
Copy link

[在此处输入反馈]
ConfigService 和NamingService 的变量名重复了
如下

try {
// Initialize the configuration service, and the console automatically obtains the following parameters through the sample code.
String serverAddr = "{serverAddr}";
Properties properties = new Properties();
properties.put("serverAddr", serverAddr);

ConfigService **configService** = NacosFactory.createConfigService(properties);
NamingService **configService** = NacosFactory.createNamingService(properties);

} catch (NacosException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

文档详细信息

请勿编辑此部分。nacos.io ➟ GitHub 问题链接必须具有此部分。

@KomachiSion
Copy link
Contributor

welcome PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants