-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][admin] Fix get non-persistent topics issue in Namespaces. #16170
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
[fix][admin] Fix get non-persistent topics issue in Namespaces. #16170
Conversation
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
Outdated
Show resolved
Hide resolved
ef72aae to
5791c78
Compare
eolivelli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Hi @Technoboy- It looks like we have some conflict with branch-2.9. Could you please help cherry-pick it? |
|
@Technoboy- Please also help cherry-pick to branch-2.10. |
Yes, done. #16517 |
Ok, done. #16514 |
…ache#16514) (cherry picked from commit 22ae18b)
Master Issue: #16081
Motivation
Currently, we can use
admin.namespaces().getTopicsto get topics under a namespace. But it could only return the non-persistent topics owned by the current broker.Also, we can use
admin.toipics().getListto get topics. It can return all non-persistent topics to users.I think it is reasonable that we should make the data return of these two interfaces consistent.
Verifying this change
Documentation
doc-not-needed(Please explain why)