Skip to content

集成统一的配置中心 #454

@saintping

Description

@saintping

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。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions