-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[Issue 7736][broker]Fix broker lookup return wrong url when specify advertised listener #7737
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
[Issue 7736][broker]Fix broker lookup return wrong url when specify advertised listener #7737
Conversation
/pulsarbot run-failure-checks |
@wangjialing218 Can you write a simple test case? |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
@sijie @wolfstudy Can this pr be cherry-picked to upcoming release 2.6.1, we also need this fix in our product env. |
Sure, please make sure the Action CI pass, will cherry-pick this change to branch-2.6 |
/pulsarbot run-failure-checks |
@sijie @jiazhai @codelipenghui PTAL thanks |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
@wangjialing218 Can you merge the master code to fix CI error? |
c58df91
to
35ad584
Compare
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
get advertised listener name from lookup options add test case
35ad584
to
644c58b
Compare
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
…pache#7737) get advertised listener name from lookup options add test case Co-authored-by: wangjialing <wangjialing@cmss.chinamobile.com>
…pache#7737) get advertised listener name from lookup options add test case Co-authored-by: wangjialing <wangjialing@cmss.chinamobile.com>
…pache#7737) get advertised listener name from lookup options add test case Co-authored-by: wangjialing <wangjialing@cmss.chinamobile.com>
…pache#7737) get advertised listener name from lookup options add test case Co-authored-by: wangjialing <wangjialing@cmss.chinamobile.com>
Motivation
Fixes #7736
Modifications
In function searchForCandidateBroker(), return the url according to advertisedListenerName when the candidateBroker is not self.