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

更新到1.5.0 zkBasePath问题 #54

Closed
xssxyby opened this issue Oct 22, 2018 · 2 comments
Closed

更新到1.5.0 zkBasePath问题 #54

xssxyby opened this issue Oct 22, 2018 · 2 comments

Comments

@xssxyby
Copy link

xssxyby commented Oct 22, 2018

你好,初步接触这个,我发现1.5.0版本之后XxlConfZkConf中的zkBasePathstatic final的了,值固定为/xxl-conf,之前版本可以自己配置,请问是出于什么考虑的,如果我们的项目从1.4.0升级到1.5.0,节点路径这块应该会有问题吧,需要怎么处理呢

@xuxueli
Copy link
Owner

xuxueli commented Oct 25, 2018

你好,新版只固定了配置前缀为 “/xxl-conf”,但是环境路径依然可以自定义的啊。完整配置路径为 “前缀 + 环境 + 配置Key” 三部分组成。

新版本在配置迁移、升级方便非常方便,只需要两步:

  • 1、copy 配置数据至配置表;
  • 2、配置界面点击 "全量同步" 。

详情可参考文档章节 “5.6 配置同步功能”

@xuxueli xuxueli closed this as completed Oct 25, 2018
@liuxianfa520
Copy link

您好,目前我们项目使用的1.4.0版本的xxl-conf-core,应该不能平滑升级到1.5.x版本吧?

        <dependency>
            <groupId>com.xuxueli</groupId>
            <artifactId>xxl-conf-core</artifactId>
            <version>1.4.0</version>
        </dependency>

因为项目已经上线,并且调用方还是比较多的,无法让所有用到xxl-conf-core的部门同时发版。
所以,我也有同样的疑问。

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