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

ServiceInstanceChooser 实现类无法注入 LoadBalancerClient #160

Closed
bjsnake opened this issue Aug 15, 2023 · 3 comments
Closed

ServiceInstanceChooser 实现类无法注入 LoadBalancerClient #160

bjsnake opened this issue Aug 15, 2023 · 3 comments

Comments

@bjsnake
Copy link

bjsnake commented Aug 15, 2023

环境:jdk17
retrofit-spring-boot-starter 3.0.2

image image image
@bjsnake
Copy link
Author

bjsnake commented Aug 15, 2023

目前自己写了一个简单的本地轮训负载算法

如下:

image image image

希望官方能实现一个整合nacos的实现

@melin
Copy link

melin commented Sep 3, 2023

自定义 ServiceInstanceChooser ,如果没有可用的uri,就不好处理,只能抛出异常,导致一堆异常栈信息。

@chentianming11
Copy link
Collaborator

麻烦还是自己实现吧,实在没精力搞naco实现了

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

3 participants