From 1d5ec83a13b6787996fbcf9f556b89481f5b55b6 Mon Sep 17 00:00:00 2001 From: hrsakai Date: Sat, 11 Mar 2017 03:18:08 +0900 Subject: [PATCH] amend some typographic errors in documents (#286) --- docs/AdminTools.md | 22 +++++++--------------- docs/BinaryProtocol.md | 2 +- docs/ClusterSetup.md | 4 ++-- docs/GeoReplication.md | 2 +- docs/WebSocket.md | 2 +- 5 files changed, 12 insertions(+), 20 deletions(-) diff --git a/docs/AdminTools.md b/docs/AdminTools.md index 66690fe6dd3..af54d33e273 100644 --- a/docs/AdminTools.md +++ b/docs/AdminTools.md @@ -663,7 +663,7 @@ admin.clusters().deleteCluster(cluster) #### list all clusters -It gives a list of call created clusters in Pulsar system. +It gives a list of all created clusters in Pulsar system. ###### CLI @@ -2386,10 +2386,6 @@ In your terminal, go to below directory to play with client tool. ```-m, --messages``` ```Comma separted string messages to send. Cannot be used with -f. Either -m or -f must be provided``` - - ```-np, --non-persistent``` - ```Produce non-persistent message, Default: false``` - ```-n, --num-produce``` ```Number of times to send message(s), Default: 1``` @@ -2398,10 +2394,6 @@ In your terminal, go to below directory to play with client tool. ```-r, --rate``` ```Rate (in msg/sec) at which to produce. Value of 0 will produce messages as fast as possible, Default: 0.0``` - - ```--ttl``` - ```Time to live (in ms) for the messages. Value of 0 will result in unlimited TTL, Default: 3600000``` - #### consume message command @@ -2414,10 +2406,6 @@ In your terminal, go to below directory to play with client tool. - - - - @@ -2431,7 +2419,11 @@ In your terminal, go to below directory to play with client tool. - - + + + + + +
options description
```-c, --client-id``````Client ID for subscriber connection. Required if subscriber ID also specified```
```--hex``` ```Display binary messages in hex, Default: false``````Rate (in msg/sec) at which to consume. Value of 0 will consume messages as fast as possible, Default: 0.0```
```-s, --subscriber-id``````Subscriber ID for a durable subscriber``````-s, --subscription-name``````Subscription name```
```-t, --subscription-type``````Subscription type: Exclusive, Shared, Failover, Default: Exclusive```
diff --git a/docs/BinaryProtocol.md b/docs/BinaryProtocol.md index 60447f374fe..d8ec1fd6dd2 100644 --- a/docs/BinaryProtocol.md +++ b/docs/BinaryProtocol.md @@ -34,7 +34,7 @@ Commands for different producers and consumers can be interleaved and sent through the same connection without any restriction. All the commands are embedded in a -[`BaseCommand`](https://github.com/yahoo/pulsar/blob/master/pulsar-common/src/main/proto/PulsarApi.proto#L283) +[`BaseCommand`](https://github.com/yahoo/pulsar/blob/master/pulsar-common/src/main/proto/PulsarApi.proto#L335) protobuf object that includes a type enum and all the possible sub-commands as optional fields. At any time, one `BaseCommand` can only have set a single sub-command. diff --git a/docs/ClusterSetup.md b/docs/ClusterSetup.md index 305a3e825ab..5520d75e4a6 100644 --- a/docs/ClusterSetup.md +++ b/docs/ClusterSetup.md @@ -190,7 +190,7 @@ zkServers=zk1.example.com:2181,zk2.example.com:2181,zk3.example.com:2181 ledgerManagerType=hierarchical ``` -Please consult [http://bookkeeper.apache.org/]() for more extensive documentation +Please consult http://bookkeeper.apache.org/ for more extensive documentation on Apache BookKeeper. ##### Starting the service @@ -317,7 +317,7 @@ for messages: $ bin/pulsar-perf consume persistent://test/us-west/ns1/my-topic ``` -Start a produce that publishes messages at a fixed rate and report stats every +Start a producer that publishes messages at a fixed rate and report stats every 10 seconds: ```shell diff --git a/docs/GeoReplication.md b/docs/GeoReplication.md index 134ddbbd2ec..8a7cb0b14f1 100644 --- a/docs/GeoReplication.md +++ b/docs/GeoReplication.md @@ -6,7 +6,7 @@ - [Replication model](#replication-model) - [Configuring replication](#configuring-replication) - [Granting permissions to properties](#granting-permissions-to-properties) - - [Creating the namespace](#creating-the-namespace) + - [Creating global namespaces](#creating-global-namespaces) - [Using global topics](#using-global-topics) diff --git a/docs/WebSocket.md b/docs/WebSocket.md index 7b15590075d..bdf6ff52324 100644 --- a/docs/WebSocket.md +++ b/docs/WebSocket.md @@ -121,7 +121,7 @@ http://{serviceUrl}:8080/ws/producer/persistent/{property}/{cluster}/{namespace} ### Consumer -Open a WebSocket session to create a producer for a specific topic: +Open a WebSocket session to create a consumer for a specific topic: ```perl http://{serviceUrl}:8080/ws/consumer/persistent/{property}/{cluster}/{namespace}/{topic}/{subscription} -- GitLab