From 39e0f32b19f2882ea97fc5982252605de6772d1d Mon Sep 17 00:00:00 2001 From: Marvin Cai Date: Sun, 27 Jan 2019 18:38:13 -0800 Subject: [PATCH] Update command usage for pulsar-perf cli command (#2895) (#3452) --- site/_data/cli/pulsar-perf.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/site/_data/cli/pulsar-perf.yaml b/site/_data/cli/pulsar-perf.yaml index d6772ff80eb8c..bc1477f1c3c08 100644 --- a/site/_data/cli/pulsar-perf.yaml +++ b/site/_data/cli/pulsar-perf.yaml @@ -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` @@ -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 @@ -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` @@ -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 @@ -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