Skip to content

Conversation

@zymap
Copy link
Member

@zymap zymap commented Sep 3, 2019

Master issue: #2

➜  pulsarctl git:(clusters_delete_failure_domain) ./pulsarctl cluster delete-failure-domain -h
USED FOR:
    This command is used for deleting the failure domain <domain-name> of the cluster <cluster-name>

REQUIRED PERMISSION:
    This command requires super-user permissions.

EXAMPLES:
    #deleting the failure domain
    pulsarctl clusters delete-failure-domain --domain-name <domain-name> <cluster-name>

OUTPUT:
    #output example
    Delete failure domain [<domain-name>] for cluster [<cluster-name>] succeed

    #the cluster name is not specified or the cluster name is specified more than one
    [✖]  only one argument is allowed to be used as a name

    #the specified cluster does not exist in the broker
    [✖]  code: 404 reason: Cluster does not exist

Usage: pulsarctl clusters delete-failure-domain [flags]

Aliases: delete-failure-domain, dfd

FailureDomainData flags:
  -n, --domain-name string   The failure domain name

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 delete-failure-domain [command] --help' for more information about a command.

@zymap zymap force-pushed the clusters_delete_failure_domain branch from cb48d9f to b6e845b Compare September 4, 2019 06:24
@zymap zymap requested review from sijie and wolfstudy September 4, 2019 06:27
@zymap zymap added this to the 0.0.1 milestone Sep 4, 2019
@zymap zymap changed the title [WIP] Add command cluster delete-failure-domain Add command cluster delete-failure-domain Sep 4, 2019
@sijie sijie mentioned this pull request Sep 4, 2019
29 tasks
@sijie sijie merged commit 66edca1 into master Sep 5, 2019
@sijie sijie deleted the clusters_delete_failure_domain branch September 5, 2019 16:10
tisonkun pushed a commit to tisonkun/pulsar-client-go that referenced this pull request Aug 15, 2023
Master issue: streamnative/pulsarctl#2 

```
➜  pulsarctl git:(clusters_delete_failure_domain) ./pulsarctl cluster delete-failure-domain -h
USED FOR:
    This command is used for deleting the failure domain <domain-name> of the cluster <cluster-name>

REQUIRED PERMISSION:
    This command requires super-user permissions.

EXAMPLES:
    #deleting the failure domain
    pulsarctl clusters delete-failure-domain --domain-name <domain-name> <cluster-name>

OUTPUT:
    #output example
    Delete failure domain [<domain-name>] for cluster [<cluster-name>] succeed

    #the cluster name is not specified or the cluster name is specified more than one
    [✖]  only one argument is allowed to be used as a name

    #the specified cluster does not exist in the broker
    [✖]  code: 404 reason: Cluster does not exist

Usage: pulsarctl clusters delete-failure-domain [flags]

Aliases: delete-failure-domain, dfd

FailureDomainData flags:
  -n, --domain-name string   The failure domain name

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 delete-failure-domain [command] --help' for more information about a command.
```
tisonkun pushed a commit to apache/pulsar-client-go that referenced this pull request Aug 16, 2023
Master issue: streamnative/pulsarctl#2 

```
➜  pulsarctl git:(clusters_delete_failure_domain) ./pulsarctl cluster delete-failure-domain -h
USED FOR:
    This command is used for deleting the failure domain <domain-name> of the cluster <cluster-name>

REQUIRED PERMISSION:
    This command requires super-user permissions.

EXAMPLES:
    #deleting the failure domain
    pulsarctl clusters delete-failure-domain --domain-name <domain-name> <cluster-name>

OUTPUT:
    #output example
    Delete failure domain [<domain-name>] for cluster [<cluster-name>] succeed

    #the cluster name is not specified or the cluster name is specified more than one
    [✖]  only one argument is allowed to be used as a name

    #the specified cluster does not exist in the broker
    [✖]  code: 404 reason: Cluster does not exist

Usage: pulsarctl clusters delete-failure-domain [flags]

Aliases: delete-failure-domain, dfd

FailureDomainData flags:
  -n, --domain-name string   The failure domain name

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 delete-failure-domain [command] --help' for more information about a command.
```
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.

3 participants