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

java编码形式对接cse配置中心 #104

Open
xorange1997 opened this issue Nov 25, 2022 · 3 comments
Open

java编码形式对接cse配置中心 #104

xorange1997 opened this issue Nov 25, 2022 · 3 comments

Comments

@xorange1997
Copy link

你好,目前我需要java以编码形式获取配置中心的内容,以及当配置发生变更后主动推送给我的java某个线程,请问我需要怎么做?类似对接nacos配置中心一样(ConfigService cs=NacosFactory.createConfigService(properties);之后能够使用ConfigService的实例对象获取nacos上的配置)。

@liubao68
Copy link
Contributor

可以看看: huaweicloud/spring-cloud-huawei-samples@b92c3c1

@xorange1997
Copy link
Author

老师,您好!很抱歉周末打扰您,就是我看这个事例其实还是依赖了spring容器吧?目前我想达到的效果是不依赖spring容器,通过提供的sdk能够编码式获取cse配置中心的客户端实例,通过此实例能够获取配置以及配置更改的通知。目前我想了解华为云是否提供了这样的sdk。

@liubao68
Copy link
Contributor

liubao68 commented Nov 27, 2022

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