apache / apache/incubator-seata
optimize: seata client support config read from file source in spring boot
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
## Why you need it?
Is your feature request related to a problem? Please describe in details
~~currently, in spring boot, config read chain is: system env -> spring environment -> default value -> original source read read(file,zk,nacos...depend on config type).~~
currently, when config type is file mode in spring boot, config read chain is: system env -> spring environment -> default value -> original source
if there is a value for the property, search returned. the situation may occur: the property not configed in spring and exist a default for it, so it will result a default value instead of read right property in file configuration.
## How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
## Other related information
Add any other context or screenshots about the feature request here.
Contributor guide
Research direction
Start by tracing the Spring Boot configuration read chain for file mode and comparing it with the original file source lookup. The change is done when a property absent from Spring configuration is read from the file configuration instead of being replaced by its default value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100