-
Notifications
You must be signed in to change notification settings - Fork 92
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
Feature:etcd as configuration center #62
Labels
enhancement
New feature or request
Comments
@春少 |
chuntaojun
added a commit
to chuntaojun/arana
that referenced
this issue
Apr 5, 2022
chuntaojun
added a commit
to chuntaojun/arana
that referenced
this issue
Apr 5, 2022
AlexStocks
pushed a commit
that referenced
this issue
Apr 9, 2022
dongzl
pushed a commit
that referenced
this issue
Apr 18, 2022
* refactor: 配置中心模块重构 * feat: 添加etcd & file的配置存储实现 * feat: feat issue #62 * feat: feat issue #62 * fix: fix pr comment * fix: fix test fail * style: fix import style * fix: fix code style * feat: 支持nacos * feat: support use command to persist into config.store * fix: 修复import逻辑问题 * fix: fix watch error * fix: rollback modify docker/conf/bootstrap.yaml * style: fix codestyle error * style: fix liscense header * style: fix style * refactor: 优化bootstrap.yaml文件结构 * refactor: 调整结构 * fix: fix CI error * style: 移除无效的导入 * style: fix License header * style: fix pr issue * refactor: 调整代码结构 Co-authored-by: springliao <springliao@tencent.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
将etcd 作为配置中心:
配置获取策略:
默认拉取etcd中的数据,当etcd 中不存在数据时,将配置文件的数据同步到etcd当中。
已实现功能:
etcd作为配置存储,更新,初始化配置文件到etcd 中。
还需要实现功能点:
存储到etcd中的key value 键值对的粒度根据情况再划分小一些;
接入etcd 的watch 机制 和加入对应的 key value 的version 进行相关版本匹配;
将此方案的配置替换现有实现中的配置加载策略
The text was updated successfully, but these errors were encountered: