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

[Bug] Why does load balancing not work in the reactive service triple protocol ? #14960

Open
3 of 4 tasks
threeMonthee opened this issue Dec 3, 2024 · 6 comments
Open
3 of 4 tasks
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@threeMonthee
Copy link

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

3.3.2

Steps to reproduce this issue

I'm building a reactive service that provides Rpc functionality using dubbo. Set the protocol to tri. And use UrlLoadBalance. However, the actual execution only initializes UrlLoadBalance, does not execute the doSelect method (the parent class select is not executed), and does not find the official website related to setting load balancing in reactive programming. May I ask if it is not supported or I wrote a mistake

image

image

image

What you expected to happen

support setting up custom load balancers

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@threeMonthee threeMonthee added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Dec 3, 2024
@threeMonthee
Copy link
Author

image

@threeMonthee
Copy link
Author

CustomCluster is the same, It's already initialized when the project starts, But it does not execute doInvoke.
image

image

@threeMonthee
Copy link
Author

I was sure I had everything set up correctly, but the built-in Loadbalance and Cluster were fine, and the custom one was loaded and initialized but didn't work

@threeMonthee
Copy link
Author

?

@threeMonthee
Copy link
Author

1

@threeMonthee
Copy link
Author

I found the root cause: the names for custom cluster and loadbalance must be all lowercase. If they are in camel case, they won’t work.

@threeMonthee threeMonthee reopened this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Archived in project
Development

No branches or pull requests

1 participant