-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
nacos分组配置问题 #2355
Comments
贴一下改完的文件吧
|
收录 |
取值方式已修改 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
版本号:2.4.2(2.4.0就有了)
问题描述:
一般开发都是多个环境,nacos可能还会多个项目同时用。
单纯靠命名空间会导致配置过多,所以需要用到分组ID
但目前服务发现中缺少这部分的配置,
同时共享配置目前是注释掉的,而且配置的地方也稍有问题
截图&代码:
主要问题,应在
discovery:
中添加
group: @config.group@
其次,共享配置也有些问题
首先这里是注释的,导致group会进入到默认的DEFAULT_GROUP
其次,打开后格式也稍有不对
临时可修改为以下配置
友情提示: 未按格式要求发帖,会直接删掉。
The text was updated successfully, but these errors were encountered: