apache / apache/incubator-seata
Some problems with the config module(seata的配置模块存在的一些问题)
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
- [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
#### BUG修复需求:
- [x] 在 `springboot` 项目下,`file.conf` 配置文件失效;
> Assign to @wangliang181230 . The PR is #5285
- [x] 使用配置中心时,本地配置不再生效的问题(包括本地 `springboot` 下的 `yaml` 配置,也不会生效),这会导致配置中心上需要上传和设置全量配置;
> Assign to @wangliang181230 . The PR is #5285
- [x] 当配置了 `seataEnv` 时,只会读取环境值对应的配置文件,通用配置文件不会生效。这导致环境配置文件需要配置全量配置,而不是基于通用配置再配置环境个性配置。
> Assign to @wangliang181230 . The PR is #5285
#### 优化需求:
- [ ] 默认配置比较乱,需要统一进行管理;`help-wanted`(待PR #5285 合并后,再重新梳理默认配置)
- [x] 原来的代码比较乱,需要重构。
> Assign to @wangliang181230 . The PR is #5285
#### 新特性需求:
- [ ] 希望可以同时使用多个配置文件或配置中心。`help-wanted`(待PR #5285 合并后,再进行支持)
- [ ] 项目启动时,打印所有seata配置及配置从哪个配置源获取到的。(配置中心、springEnv、*.conf、默认值等等)
---
---
### Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
```
Just paste your stack trace here!
```
---
### Ⅲ. Describe what you expected to happen
---
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
1. xxx
2. xxx
3. xxx
---
### Ⅴ. Anything else we need to know?
### Ⅵ. Environment:
- JDK version : `1.8`
- Seata version: `1.7.0-SNAPSHOT`
- OS : `Windows 10`
- Others:
Contributor guide
Assessment
This issue has not been assessed yet.