Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help request: 如何实现跳过当前高优先级路由,继续匹配低优先级路由 #11232

Open
ariesyp opened this issue May 7, 2024 · 0 comments

Comments

@ariesyp
Copy link

ariesyp commented May 7, 2024

Description

请教一下,有两个同样匹配规则但优先级不同的,upstream也不同的路由,当高优先级路由的upstream中没有node时,能否通过继续匹配低优先级的路由,并在匹配成功后使用低优先级路由的upstream进行转发。我想到可以通过自定义插件判断upstream中的node是否为空,但是不知道是否有跳过当前路由的方法。期待你们的回答,感谢。

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):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant