Technoboy- opened a new pull request, #20614:
URL: https://github.com/apache/pulsar/pull/20614

   
   ### 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. 
   
   
   ### Modification
   Add `local` flag to distinguish clusters
   ```
   bin/pulsar-admin clusters list
   us-west(local)
   us-east
   us-cent
   ```
   
   
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to