Vote for option 1, and I think we can check the version in *apisix ini**t* and
report error if version is incompatible.

On Wed, Mar 11, 2020 at 8:16 PM YuanSheng Wang <[email protected]> wrote:

> Hi:
>
> Apache APISIX users use a different version of `conf/config.yaml`,
> this caused the service to fail to start.
>
> The update of Apache APISIX may cause the file `conf / config.yaml` to
> be incompatible.
>
> There are two ways to resolve this bug:
> 1 Uses a version field in the file `conf/config.yaml`, the Apache
> APISIX can only work with the specified version config file.
> 2 Uses `jsonschema`[1] to check the configuration and identify such
> errors early.
>
> [1] https://github.com/api7/jsonschema
>
> --
> MembPhis
> My github: https://github.com/membphis
> Apache APISIX: https://github.com/apache/incubator-apisix
>

Reply via email to