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 config 是否可以增加一个namespace参数 #287

Open
xz1367 opened this issue Jan 22, 2021 · 3 comments
Open

nacos config 是否可以增加一个namespace参数 #287

xz1367 opened this issue Jan 22, 2021 · 3 comments

Comments

@xz1367
Copy link

xz1367 commented Jan 22, 2021

使用nacos作为配置中心时,
是否可以增加一个namespace参数,进行多环境配置
目前只有dataId,group等参数。

@xz1367
Copy link
Author

xz1367 commented Jan 22, 2021

好像不能多环境支持,比如开发,测试、生成,现在就一个hmily.yml配置文件,不能添加环境,很早的环境在bootstrap.yml文件还可以根据环境进行配置,最新的版本要怎么处理呢,什么时候可以发布2.1.2版本呢?

@dengliming
Copy link
Member

你可以尝试增加支持下吗?

@qinwen2015
Copy link

可本地修改源码hmily-config-nacos,只需修改NacosConfig和NacosClient两个类,新增namespace参数,然后本地install,deploy到私服覆盖当前版本即可!

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

3 participants