xxm404 commented on issue #4110:
URL: https://github.com/apache/apisix/issues/4110#issuecomment-824793141


   @Hxhong you demo `priority = 1000` it seems to be duplicate of the existing 
plugin
   and in plugin develop doc i find this
   > Note : The priority of the new plugin cannot be same to any existing ones, 
you can use the /v1/schema method of control API to view the priority of all 
plugins. In addition, plugins with higher priority value will be executed first 
in a given phase (see the definition of phase in choose-phase-to-run). For 
example, the priority of example-plugin is 0 and the priority of ip-restriction 
is 3000. Therefore, the ip-restriction plugin will be executed first, then the 
example-plugin plugin.


-- 
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.

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


Reply via email to