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

[Improve][Admin API] Clusters list API return clusters with local and remote flag #20581

Closed
1 of 2 tasks
ericsyh opened this issue Jun 15, 2023 · 1 comment · Fixed by #20614 or #21139
Closed
1 of 2 tasks

[Improve][Admin API] Clusters list API return clusters with local and remote flag #20581

ericsyh opened this issue Jun 15, 2023 · 1 comment · Fixed by #20614 or #21139
Assignees
Labels
Stale type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Comments

@ericsyh
Copy link
Contributor

ericsyh commented Jun 15, 2023

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

After configuring the geo-replication on Pulsar clusters, the clusters list API will return multiple clusters, including the local Pulsar cluster and remote clusters like

bin/pulsar-admin clusters list
us-west
us-east
us-cent

But in this return, you can't distinguish the local and the remote cluster. When you need to remove the geo-replication configuration, it will be hard to decide which cluster should be removed on replicated tenants and namespaces unless you record the cluster information.

Solution

I am thinking about whether it's possible to add some flags on the clusters list API return data like

bin/pulsar-admin clusters list
us-west(local)
us-east(remote)
us-cent(remote)

That will be easy for users to distinguish.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@ericsyh ericsyh added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Jun 15, 2023
@Technoboy- Technoboy- self-assigned this Jun 16, 2023
@tisonkun tisonkun changed the title [Improve][Admin API]: clusters list API return clusters with local and remote flag [Improve][Admin API] Clusters list API return clusters with local and remote flag Jul 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

The issue had no activity for 30 days, mark with Stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
2 participants