jagerzhang opened a new issue #5277: URL: https://github.com/apache/apisix/issues/5277
### Issue description 昨天我们这边因为配置文件中的discovery缩进错误,导致eureka服务发现不可用,所有基于eureka的服务全部503,但是APISIX是正常启动且没有报错日志。  想问下有没有可能支持配置下严格模式,当检测配置有误的时候则阻止启动,比如这个场景下,APISIX能否获悉配置了eureka服务发现的上游,而配置文件里面却没有discovery配置,此时应该报错并阻止启动。 因为在K8S里面部署,新的pod无法启动就不会影响现网。 以上,不知道有没有比较好的解决办法。 ### Environment - apisix version (cmd: `apisix version`): 2.10.0 - OS (cmd: `uname -a`): centos-docker -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
