This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 39e0f32  Update command usage for pulsar-perf cli command (#2895) 
(#3452)
39e0f32 is described below

commit 39e0f32b19f2882ea97fc5982252605de6772d1d
Author: Marvin Cai <cai19930...@gmail.com>
AuthorDate: Sun Jan 27 18:38:13 2019 -0800

    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 d6772ff..bc1477f 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

Reply via email to