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

参数变量集中化 #104

Open
XiaoChouYou opened this issue Aug 24, 2022 · 0 comments
Open

参数变量集中化 #104

XiaoChouYou opened this issue Aug 24, 2022 · 0 comments

Comments

@XiaoChouYou
Copy link

docker 无状态部署. 需要有个配置集中的库/文件/其他
我了解的实现方法是
环境变量指定置变量库 连接信息
其他所有的配置变量都存在库中
大致表结构,根据实际场景选择组合主键及上下级关系
组合主键包括 ,
集群编码 , 主/备/容灾/测试/灰度/或其他硬件隔离集群
服务编码, 应用节点/负载均衡/XX服务/XX组件/kafka/zk
组 : 业务软路由平行拆分分组
机器编码 : 主机唯一编码
版本号 :滚动升级修改配置
参数名
参数值
参数说明
..

数据结构 存储位置视情况而定,主要目的是做到配置全局唯一,

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

1 participant