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

在分组情况下利用nacos基于权重的负载规则无效 #3159

Closed
jojoecfy opened this issue Jun 23, 2020 · 0 comments
Closed

在分组情况下利用nacos基于权重的负载规则无效 #3159

jojoecfy opened this issue Jun 23, 2020 · 0 comments

Comments

@jojoecfy
Copy link

jojoecfy commented Jun 23, 2020

Describe what happened (or what feature you want)

本地在nacos注册了3个服务均有分组,在网关利用nacos的负载规则获取实例是依然选择默认分组下的服务导致转发失败

我用的网关是gateway

获取实例代码
Instance instance = discoveryProperties.namingServiceInstance()
.selectOneHealthyInstance(name);
第一次发,格式略乱请见谅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant