help request: Plug-in function consultation

未关闭
#13,263 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
lua
领域
api

调研方向

首先根据 issue 图片和仓库搜索,确定该插件及其当前的 consumer 限制实现;未提供文件名或插件名。检查如何配置针对特定 consumer 的限制,并确定是否支持 2、5 和 4 这类不同的值;当行为和配置要求得到明确确立时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

question
Description
Image As shown in the figure, the plug-in can request current limit for consumers, but the current limit for all consumers is the same. Can you set different restrictions for different consumers respectively?

For example, req of consumer01 is set to 2; The req of consumer02 is set to 5; The req of consumer03 is set to 4; Can it be realized?

Environment
  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
主要语言
Lua
星标
17.3k
派生
3k
平均合并
4 天 14 小时
30 天内合并 PR
73

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/apisix 的其他 Issue

查看 apache/apisix 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。