[improve][pip] PIP-277: Add current option in the Clusters list cmd#20614
Conversation
Would you consider adding Possible use-case would be someone automates counting how many remotes and clusters are there in list via shellscript, or |
yes, sure. Could you also send these ideas in this mail ? |
|
@Technoboy- For sure, will do.👍🏻 EDIT : Done 👍🏻 |
I think this is a good idea to distinguish between |
|
+1 on @nodece 's proposal wrt |
Good idea, could you also discuss this in this mail ? |
--current option in the Clusters list API
--current option in the Clusters list API--current option in the Clusters list cmd
|
The pr had no activity for 30 days, mark with Stale label. |
--current option in the Clusters list cmdcurrent option in the Clusters list cmd
current option in the Clusters list cmdcurrent option in the Clusters list cmd
RobertIndie
left a comment
There was a problem hiding this comment.
Why did you move pip-274.md? I see that the same change also appears in https://github.com/apache/pulsar/pull/20993/files.
|
Fixes #20581
Motivation
After configuring the geo-replication on Pulsar clusters, the
clusters listAPI will return multiple clusters, including the local Pulsar cluster and remote clusters likeBut 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.
Modification
Add
--currentoption in the cluster list cmd and mark the current cluster with(*)Documentation
docdoc-requireddoc-not-neededdoc-complete