You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/05/28 11:47:33 UTC

[apisix] branch master updated: chore: show priority of stream plugins (#4326)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 98d6b12  chore: show priority of stream plugins (#4326)
98d6b12 is described below

commit 98d6b12419e2cb50c711be7b015fc18689ad6dd5
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Fri May 28 19:47:25 2021 +0800

    chore: show priority of stream plugins (#4326)
    
    Signed-off-by: spacewander <sp...@gmail.com>
---
 conf/config-default.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/config-default.yaml b/conf/config-default.yaml
index fbccd79..57b6ca8 100644
--- a/conf/config-default.yaml
+++ b/conf/config-default.yaml
@@ -287,8 +287,9 @@ plugins:                          # plugin list (sorted by priority)
   - serverless-post-function       # priority: -2000
   - ext-plugin-post-req            # priority: -3000
 
-stream_plugins:
-  - mqtt-proxy
+stream_plugins: # sorted by priority
+  - mqtt-proxy                     # priority: 1000
+  # <- recommend to use priority (0, 100) for your custom plugins
 
 plugin_attr:
   log-rotate: