Skip to content

[Branch-2.10][Cherry-pick] Fix get non-persistent topics issue in Namespaces. - #16514

Merged
Technoboy- merged 1 commit into
apache:branch-2.10from
Technoboy-:cherry-pick-16170-1
Jul 11, 2022
Merged

[Branch-2.10][Cherry-pick] Fix get non-persistent topics issue in Namespaces.#16514
Technoboy- merged 1 commit into
apache:branch-2.10from
Technoboy-:cherry-pick-16170-1

Conversation

@Technoboy-

Copy link
Copy Markdown
Contributor

Cherry-pick #16170

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)

@github-actions

Copy link
Copy Markdown

@Technoboy- Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

@Technoboy- Technoboy- added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jul 11, 2022
@Technoboy-
Technoboy- merged commit 22ae18b into apache:branch-2.10 Jul 11, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jul 11, 2022
@Technoboy-
Technoboy- deleted the cherry-pick-16170-1 branch August 10, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs 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.

2 participants