Skip to content

Conversation

@Technoboy-
Copy link
Contributor

Master Issue: #16081

Motivation

Currently, we can use admin.namespaces().getTopics to 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().getList to 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

  • Make sure that the change passes the CI checks.

Documentation

  • doc-not-needed
    (Please explain why)

@Technoboy- Technoboy- marked this pull request as ready for review June 22, 2022 08:13
@Technoboy- Technoboy- self-assigned this Jun 22, 2022
@Technoboy- Technoboy- added type/bug The PR fixed a bug or issue reported a bug area/admin labels Jun 22, 2022
@Technoboy- Technoboy- added this to the 2.11.0 milestone Jun 22, 2022
@Technoboy- Technoboy- added the doc-not-needed Your PR changes do not impact docs label Jun 22, 2022
@codelipenghui codelipenghui added the release/important-notice The changes which are important should be mentioned in the release note label Jun 23, 2022
@Technoboy- Technoboy- changed the title [fix][admin] Fix get non-persistent topics issue in Namespaces. [Don't Merge ][fix][admin] Fix get non-persistent topics issue in Namespaces. Jun 24, 2022
@Technoboy- Technoboy- changed the title [Don't Merge ][fix][admin] Fix get non-persistent topics issue in Namespaces. [fix][admin] Fix get non-persistent topics issue in Namespaces. Jun 25, 2022
@Technoboy- Technoboy- force-pushed the fix-namespace-get-topic-issue branch from ef72aae to 5791c78 Compare June 27, 2022 04:59
@Technoboy- Technoboy- requested a review from eolivelli June 27, 2022 05:06
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

@eolivelli eolivelli merged commit 877795e into apache:master Jun 27, 2022
@mattisonchao
Copy link
Member

Hi @Technoboy-

It looks like we have some conflict with branch-2.9. Could you please help cherry-pick it?

@codelipenghui
Copy link
Contributor

@Technoboy- Please also help cherry-pick to branch-2.10.

@Technoboy-
Copy link
Contributor Author

Technoboy- commented Jul 11, 2022

Hi @Technoboy-

It looks like we have some conflict with branch-2.9. Could you please help cherry-pick it?

Yes, done. #16517

@Technoboy-
Copy link
Contributor Author

@Technoboy- Please also help cherry-pick to branch-2.10.

Ok, done. #16514

Technoboy- added a commit that referenced this pull request Jul 11, 2022
…spaces. (#16517)

* Fix get non-persistent topics issue in Namespaces. (#16170)
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jul 11, 2022
@Technoboy- Technoboy- deleted the fix-namespace-get-topic-issue branch August 10, 2022 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/admin cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/important-notice The changes which are important should be mentioned in the release note release/2.9.4 release/2.10.2 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants