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

集成统一的配置中心 #454

Open
saintping opened this issue Feb 18, 2020 · 0 comments
Open

集成统一的配置中心 #454

saintping opened this issue Feb 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@saintping
Copy link
Contributor

Is your feature request related to a problem? Please describe.
WeEvent业务相关的配置项还是配置在spring boot的配置文件application.properties里。
同一个模块的多个进程之间,多个模块间使用到的同一个配置 。
保持完全一致比较麻烦,很容易出现不一致,引起问题。

Describe the solution you'd like
将当前已经使用的Zookeeper(服务注册和发布),升级为配置中心。将业务相关配置统一通过配置中心管理。例如:
1、区块链类配置
2、DB类配置。
3、各种协议接口的鉴权配置。
进程配置文件application.properties只保留进程相关的配置。比如端口等。
新建一个配置初始化脚本zkConfig.sh,将上面业务配置刷到配置中心。
一键安装脚本里调用zkConfig.sh将config.properties的相关配置刷到zookeeper。不需要再继续维护application.properties。

@saintping saintping added the good first issue Good for newcomers label Feb 19, 2020
@saintping saintping added this to the v1.3.0 milestone Feb 19, 2020
@saintping saintping added enhancement New feature or request and removed good first issue Good for newcomers labels Mar 24, 2020
@saintping saintping removed this from the v1.3.0 milestone Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant