Skip to content

Commit

Permalink
Update command usage for pulsar-perf cli command (apache#2895) (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinCai authored and merlimat committed Jan 28, 2019
1 parent 32e7f33 commit 39e0f32
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions site/_data/cli/pulsar-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ description: |
commands:
- name: consume
description: Run a consumer
argument: topic_name
options:
- flags: --auth_params
description: Authentication parameters in the form of `key1:val1,key2:val2`
Expand Down Expand Up @@ -56,6 +57,7 @@ commands:
default: 100
- flags: -u, --service-url
description: Pulsar service URL
default: 'http://localhost:8080/'
- flags: -s, --size
description: Message size (in bytes)
default: 1024
Expand All @@ -67,6 +69,7 @@ commands:
default: 0
- name: produce
description: Run a producer
argument: topic_name
options:
- flags: --auth_params
description: Authentication parameters in the form of `key1:val1,key2:val2`
Expand Down Expand Up @@ -102,6 +105,7 @@ commands:
default: 100
- flags: -u, --service-url
description: Pulsar service URL
default: 'http://localhost:8080/'
- flags: -s, --size
description: Message size (in bytes)
default: 1024
Expand All @@ -113,13 +117,21 @@ commands:
default: 0
- name: monitor-brokers
description: Continuously receive broker data and/or load reports
argument: --connect-string arg
options:
- flags: --connect-string
description: A connection string for one or more ZooKeeper servers
- name: simulation-client
description: Run a simulation server acting as a Pulsar client. Uses the client configuration specified in `conf/client.conf`.
argument: --port arg --service-url arg
options:
- flags: --port
description: Port to listen on for controller
- flags: --service-url
description: Pulsar Service URL
- name: simulation-controller
description: Run a simulation controller to give commands to servers
argument: --client-port arg --clients arg --cluster arg
options:
- flags: --client-port
description: The port that the clients are listening on
Expand Down

0 comments on commit 39e0f32

Please sign in to comment.