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

#540 fix lookup service not implemented GetTopicsOfNamespace #541

Merged

Conversation

freeznet
Copy link
Contributor

@freeznet freeznet commented Jun 14, 2021

Fixes #540

Motivation

When using regex topics consumer with HTTP client URL, the client will fail to query namespace topics and throw failed handshake error. This is because the client sends protobuf requests to HTTP service.

Modifications

add GetTopicsOfNamespace to LookupService interface
add related tests

Verifying this change

  • Make sure that the change passes the CI checks.

@codelipenghui codelipenghui added this to the 0.6.0 milestone Jun 15, 2021
pulsar/internal/namespace_name.go Outdated Show resolved Hide resolved
pulsar/consumer_regex.go Show resolved Hide resolved
@freeznet
Copy link
Contributor Author

/pulsarbot run-failure-checks

@wolfstudy wolfstudy self-requested a review June 16, 2021 02:56
Copy link
Member

@wolfstudy wolfstudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @freeznet , LGTM +1

@wolfstudy
Copy link
Member

@freeznet Please fix the CI error, thanks.

@wolfstudy
Copy link
Member

@freeznet The current failure of CI has nothing to do with this submission. It seems that CI failed because of 2.8.0 release. I will fix the problem of CI failure in #544. I will merge this pr first.

@wolfstudy wolfstudy merged commit 55c15ef into apache:master Jun 17, 2021
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

Successfully merging this pull request may close these issues.

http lookup service not have namespace topics query implemented
5 participants