You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/08 03:16:01 UTC

[GitHub] [apisix] liaomengge commented on a change in pull request #4462: docs: update global-rule.md

liaomengge commented on a change in pull request #4462:
URL: https://github.com/apache/apisix/pull/4462#discussion_r665839760



##########
File path: docs/zh/latest/architecture-design/global-rule.md
##########
@@ -45,6 +45,7 @@ curl -X PUT \
 如上所注册的 `limit-count` 插件将会作用于所有的请求。
 
 我们可以通过以下接口查看所有的 `GlobalRule`:
+当 `Route` 和 `Service` 都开启同一个插件时,Route 参数的优先级是高于 Service 的。但是`GlobalRule`优先级高于`Route`和`Service`

Review comment:
       > I think the `Route 参数的优先级是高于 Service 的` here is not accurate, it should be `APISIX 只会执行 Route 上的插件,Service 上的插件被覆盖`, and the `但是 GlobalRule 优先级高于 Route 和 Service` can change to `GlobalRule 上的插件一定会执行,无论 Route 和 Service 上是否开启同一个插件`, what do you think @spacewander
   赞同
   




-- 
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: notifications-unsubscribe@apisix.apache.org

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