alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.36k stars 12.86k forks source link

支持yaml 配置格式校验 #12847

Closed melin closed 5 days ago

melin commented 1 week ago

支持yaml 配置格式校验,有时候配置格式错误了,保存时候不校验,只有启动应用读取配置,才发现配置格式错误。

KomachiSion commented 1 week ago

配置内容对nacos来说是黑盒, console上的编辑器应该有简单的红线提示, 引擎不会对格式做校验,如果有需求,可以考虑开发自定义插件来处理:

https://nacos.io/docs/latest/plugin/config-change-plugin/

KomachiSion commented 5 days ago

No more response from author for a long time, and this problem community can't reproduce.