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

Feature:etcd as configuration center #62

Closed
liu-song opened this issue Feb 17, 2022 · 1 comment · Fixed by #120
Closed

Feature:etcd as configuration center #62

liu-song opened this issue Feb 17, 2022 · 1 comment · Fixed by #120
Assignees
Labels
enhancement New feature or request

Comments

@liu-song
Copy link
Contributor

liu-song commented Feb 17, 2022

将etcd 作为配置中心:
配置获取策略:
默认拉取etcd中的数据,当etcd 中不存在数据时,将配置文件的数据同步到etcd当中。
已实现功能:
etcd作为配置存储,更新,初始化配置文件到etcd 中。
还需要实现功能点:
存储到etcd中的key value 键值对的粒度根据情况再划分小一些;
接入etcd 的watch 机制 和加入对应的 key value 的version 进行相关版本匹配;
将此方案的配置替换现有实现中的配置加载策略

@dongzl dongzl added the enhancement New feature or request label Feb 27, 2022
@dongzl
Copy link
Contributor

dongzl commented Mar 12, 2022

@春少

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
* 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
@dongzl dongzl assigned chuntaojun and unassigned liu-song 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
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants