Some users who write their custom plugins will re-package APISIX by
themselves. Sync the Lua files to etcd might not be a good choice for
them.
And etcd is not suitable to manage files.

孙毅 <[email protected]> 于2021年3月2日周二 下午3:38写道:
>
> Hello, devs,
>
> The current process for users who want to use custom plugins.
> 1. configure the custom plugin according to the apisix specification:
> https://github.com/apache/apisix/blob/
> master/docs/en/latest/plugin-develop.md
> 2. export the apisix jsonschema file.
> 3. Manually import the exported jsonshcema file into the apisix-dashboard
> conf directory. 4.
> 4. restart manager-api.
>
> Disadvantage: The process is too tedious and requires manual copying which
> is prone to errors
>
> Improvements:
> According to the design architecture of apisix and security considerations,
> apisix does not allow direct modification of ETCD.
> 1. the user synchronizes the custom plugin lua files to etcd through the
> dashboard interface or by calling the interface.
> 2. apisix automatically synchronizes the custom plugin lua files to etcd.
> Advantage: greatly reduces the difficulty of using custom plugins, no
> manual synchronization process
> Disadvantages:
>    1.Only supports single lua files
>    2. Share dict is not supported
>
> what do you think?
>
> Thanks.

Reply via email to