Skip to content

Conversation

@zymap
Copy link
Member

@zymap zymap commented Aug 29, 2019

Master Issue: #2

output :

USED FOR:
    This command is used for getting the peer clusters of the specified cluster.

REQUIRED PERMISSION:
    This command requires super-user permissions.

EXAMPLES:
    #getting the <cluster-name> peer clusters
    pulsarctl clusters get-peer-clusters <cluster-name>

OUTPUT:
    #normal output
    +-------------------+
    |   PEER CLUSTERS   |
    +-------------------+
    | test_peer_cluster |
    +-------------------+

    #output of doesn't specified a cluster name
    [✖]  only one argument is allowed to be used as a name

    #output of cluster doesn't exist
    [✖]  code: 404 reason: Cluster does not exist

Usage: pulsarctl clusters get-peer-clusters [flags]

Aliases: get-peer-clusters, gpc

Common flags:
  -s, --admin-service-url string   The admin web service url that pulsarctl connects to. (default "http://localhost:8080")
  -C, --color string               toggle colorized logs (true,false,fabulous) (default "true")
  -h, --help                       help for this command
  -v, --verbose int                set log level, use 0 to silence, 4 for debugging (default 3)

Use 'pulsarctl clusters get-peer-clusters [command] --help' for more information about a command.

@zymap zymap added this to the 0.0.1 milestone Aug 29, 2019
@zymap zymap requested review from sijie and wolfstudy August 29, 2019 09:34
@zymap zymap self-assigned this Aug 29, 2019
@sijie
Copy link
Member

sijie commented Sep 2, 2019

@zymap please rebase the pull request.

@sijie
Copy link
Member

sijie commented Sep 2, 2019

please rebase the pull request

@zymap zymap force-pushed the clusters_getpeercluster branch from 5a9f2af to 1944c8d Compare September 3, 2019 02:28
@wolfstudy wolfstudy merged commit b686a5c into master Sep 3, 2019
@sijie sijie deleted the clusters_getpeercluster branch September 3, 2019 04:00
@sijie sijie mentioned this pull request Sep 4, 2019
29 tasks
tisonkun pushed a commit to tisonkun/pulsar-client-go that referenced this pull request Aug 15, 2023
* Add command cluster `get-peer-clusters`
---

Master Issue: streamnative/pulsarctl#2

* Fix long description
tisonkun pushed a commit to apache/pulsar-client-go that referenced this pull request Aug 16, 2023
* Add command cluster `get-peer-clusters`
---

Master Issue: streamnative/pulsarctl#2

* Fix long description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants