You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/19 01:35:49 UTC

[GitHub] [apisix] anjia0532 commented on issue #6143: feature: Support config merge/overwrite by profile(like spring boot profile style)

anjia0532 commented on issue #6143:
URL: https://github.com/apache/apisix/issues/6143#issuecomment-1015994674


   如果可以,可以考虑把apisix.yml进行拆分,易于阅读,审计,备份,同时对于大文件的变更检查肯定不如小文件来的高效
   
   比如原来配置
   
   ```yaml
   routes:{}
   ```
   
   ```yaml
   routes_from_file:/path/to/routes.yaml
   ```
   
   是读取文件,二者只能有一个,同时存在报错。其他项类似(`upstreams,upstreams_from_file`)
   
   这样像是`plugins`,`ssl`,`services`等不常变更部分,检查ctime也行,检查文件md5也行,没变化跳过,有变化只读这一块就行了


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org