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/04/26 13:59:30 UTC

[GitHub] [apisix] hzbd opened a new issue #4135: request help: to disable(not ban) a consumer without changing router config?

hzbd opened a new issue #4135:
URL: https://github.com/apache/apisix/issues/4135


   ### Issue description
   Without changing the router configuration, I just want to disable(not ban) a consumer. How to do it? 
   ![image](https://user-images.githubusercontent.com/3000843/116094867-7a4ed480-a6da-11eb-8c0e-813b96fe7842.png)
   
   PS:The [fault-injection](https://github.com/apache/apisix/blob/master/docs/zh/latest/plugins/fault-injection.md) plugin must act on the router to take effect.
   
   ### Environment
   
   * apisix version: 2.4
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #4135: request help: to disable(not ban) a consumer without changing router config?

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #4135:
URL: https://github.com/apache/apisix/issues/4135


   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4135: request help: to disable(not ban) a consumer without changing router config?

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


   Closed as lack of response.


-- 
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:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4135: request help: to disable(not ban) a consumer without changing router config?

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


   @hzbd If you want to suspend the access of consumer `2` by some rate-limiting plugins, why not just go ahead as for now you can implement it already, we don't need to introduce another `enable/disable` status for consumers.
   
   http://apisix.apache.org/docs/apisix/plugins/limit-count


-- 
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:
users@infra.apache.org



[GitHub] [apisix] hzbd commented on issue #4135: request help: to disable(not ban) a consumer without changing router config?

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


   
   ![image](https://user-images.githubusercontent.com/3000843/116120942-ae35f400-a6f2-11eb-94fa-7f5fc2d103c1.png)
   
   ![image](https://user-images.githubusercontent.com/3000843/116120977-b7bf5c00-a6f2-11eb-9a35-b341f0b4ecd5.png)
   
   
   
   In some cases, `user b(consumer 2)` 's access needs to be suspended, but it will be enabled again after a period of time. At the same time, when the `user b(consumer 2)` is suspended, the exception return code can be found in 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.

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



[GitHub] [apisix] tokers commented on issue #4135: request help: to disable(not ban) a consumer without changing router config?

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


   Currently it doesn't support switch for consumer.
   
   Could you please describe your scenario?


-- 
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:
users@infra.apache.org