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 2022/06/30 09:38:36 UTC

[GitHub] [apisix] tokers opened a new issue, #7361: docs: explain the rule of plugin config precedence

tokers opened a new issue, #7361:
URL: https://github.com/apache/apisix/issues/7361

   ### Current State
   
   Currently, we can configure plugins on Route, Service, Global Rule, and Consumer. But the precedence between them are not shown in the documents.
   
   Say I configure the `limit-count` plugin on the Consumer and Route.
   
   * Consumer
   * 
   ```json
   {
       "plugins": {
           "limit-count": {
               "key": "abc",
               "count": 10
           }
       }
   }
   ```
   
   * Route
   
   ```json
   {
       "plugins": {
           "limit-count": {
               "key": "abc",
               "count": 20
           }
       }
   }
   ```
   
   Which config for `limit-count` will be used? And what if I have another `limit-count` on the Service and the Service is referenced by the Route?
   
   ### Desired State
   
   As a user, I hope there has a document to explain these stuffs.


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

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


[GitHub] [apisix] github-actions[bot] closed issue #7361: docs: explain the rule of plugin config precedence

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7361: docs: explain the rule of plugin config precedence
URL: https://github.com/apache/apisix/issues/7361


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


[GitHub] [apisix] github-actions[bot] commented on issue #7361: docs: explain the rule of plugin config precedence

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7361:
URL: https://github.com/apache/apisix/issues/7361#issuecomment-1617784637

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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


[GitHub] [apisix] github-actions[bot] commented on issue #7361: docs: explain the rule of plugin config precedence

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7361:
URL: https://github.com/apache/apisix/issues/7361#issuecomment-1596892047

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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


[GitHub] [apisix] tokers commented on issue #7361: docs: explain the rule of plugin config precedence

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7361:
URL: https://github.com/apache/apisix/issues/7361#issuecomment-1171818288

   @spacewander That'd be good, I just look through the diagram, it's clear.


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


[GitHub] [apisix] spacewander commented on issue #7361: docs: explain the rule of plugin config precedence

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7361:
URL: https://github.com/apache/apisix/issues/7361#issuecomment-1171183478

   We can move https://github.com/apache/apisix/discussions/7179#discussioncomment-2903411 to the doc?


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