[task] Clean up and reduce Seata configuration items

pzfprimi  于 2个月前  发布在  其他
关注(0)|答案(2)|浏览(27)

Why you need it?

Is your feature request related to a problem? Please describe in details

Clean up and reduce Seata configuration items
清除和减少 Seata 配置项

At present, Seata has too many configuration items. In the past, the function of the new version is decided by the configuration switch, but in the later version such switch has not been cleared for a long time, resulting in the expansion of configuration items and model. It is time to clean some useless configuration items of Seata.
目前Seata的配置项过多,在过去对于新版本的功能都是通过配置开关来决定是否开启,但是在之后的版本此类的开关长期未清理,造成了配置项和模型的膨胀,是时候对Seata一些无用的配置项进行清理了。

The principle of cleaning is that you can disable the configuration switch for long-term stable functions and clear the configuration switch that is not exposed to the user service layer.
清理的原则是长期稳定的功能可废除配置开关,对用户业务层不透出的配置开关开清理。

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.

Add any other context or screenshots about the feature request here.

ocebsuys

ocebsuys1#

I'm working on #4366 , plz assign to me

o2g1uqev

o2g1uqev2#

几个问题先在这里记录一下
1.去除的配置我们要在哪里讨论和确认(是不是建个discussion页面)
2.去除的配置是否可以有个过度方案(我能想到最简单的是在启动的时候去集中扫描一下已经去掉的配置,打出warn日志给用户)
3.ConfigurationKeys 里的server和client是否需要拆分管理,毕竟有点多
4.ConfigurationKeys 的注释是否应该把key完整的样子写上,方便管理
5.配置开发规范:必须收敛在ConfigurationKeys,必须补充文档

相关问题