happyfish100 / happyfish100/fastdfs-client-java
建议能否支持配置从外部注入?强行往项目里添加配置文件的方式显得过于侵入
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 891
- PR merge metrics
- No merged PRs in 30d
Description
如题,刚刚接触fastdfs,不太了解是否还有更好的初始化获取配置处理方法,看到大部分的示例代码初始化的时候都是读取配置文件,但是很多大规模部署项目,配置都是配置中心集中管理的,配置值也是直接通过spring的@Value注入bean的,很少直接配置在文件里,如果涉及配置修改,配置文件是个比较麻烦的事情。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the initialization paths that currently read configuration files and the Spring @Value-based bean setup described in the issue. Define how externally supplied values should be accepted and how configuration changes should work without forcing a project configuration file; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100