baidu / baidu/brcc

提供一个发展思路(探讨)

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
400
Forks
91
PR merge metrics
No merged PRs in 30d

Description

项目本身模块化微服务,单个服务的配置如下图:
![image](https://user-images.githubusercontent.com/2734613/119598855-4fa98600-be16-11eb-931c-902802adbad9.png)
在有将现在有的服务迁移至Brcc统一配置中心的时候,会发现有问题:
原项目实际运行时,是需要指定activeprofile的,activeprofile实际的文件是 application.yaml和application-[profile].yaml的合并结果,配置荐较多的配置文件将配置项拆开往brcc上复写是一个比较痛苦的事情,那就带来了接下来的两个方向:
是否支持直接以配置文件的方式进行导入,brcc自动做前缀填充,能节省相当大的在线填写配置的时间
或者直接支持配置文件的变更Hook,直接以配置文件的形式来实现K-V的统一管理

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the relationship between application.yaml and application-[profile].yaml described in the issue, then examine how Brcc currently handles configuration migration. Compare the proposed file import and configuration-file change hook directions. The work is done when one direction has a defined scope, migration behavior, and agreed acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.