We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for (Server server : serverList) 循环遍历后 就直接返回匹配的 server。 如果有多个匹配 就不可以了
The text was updated successfully, but these errors were encountered:
在 IRule 中做过滤,其实是重写了 Rule 的规则,如果想集成 Ribbon 提供的 Rule 功能,我认为可以在通过标签筛选出 server 后,继续使用 Ribbon 的 Rule 功能。
Sorry, something went wrong.
ServerListFilter 周期性执行过滤 server 。 LoadBalance 每次请求的时候都会获取 ServerListFilter 获得到的 server 的信息,经过 Rule 再选择。 所以要想继续使用 Ribbon 提供的 Rule 可以扩展 LoadBalance 完成 server 的选择,在经过 Rule 选择指定的 server
No branches or pull requests
for (Server server : serverList)
循环遍历后 就直接返回匹配的 server。 如果有多个匹配 就不可以了
The text was updated successfully, but these errors were encountered: