You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/03/07 13:30:44 UTC

[pulsar] branch master updated: fix document description bugs (#3740)

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

sijie 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 c13242f  fix document description bugs (#3740)
c13242f is described below

commit c13242f6cad19602c046cdee8351e060a3d231e6
Author: bilahepan <YT...@gmail.com>
AuthorDate: Thu Mar 7 07:30:38 2019 -0600

    fix document description bugs (#3740)
---
 site/docs/latest/cookbooks/RetentionExpiry.md                         | 4 ++--
 site/docs/latest/getting-started/LocalCluster.md                      | 2 +-
 site/ja/advanced/RetentionExpiry.md                                   | 4 ++--
 site2/docs/getting-started-standalone.md                              | 2 +-
 .../version-2.1.0-incubating/cookbooks-retention-expiry.md            | 4 ++--
 .../version-2.1.0-incubating/getting-started-standalone.md            | 2 +-
 .../version-2.1.1-incubating/getting-started-standalone.md            | 2 +-
 .../versioned_docs/version-2.2.0/getting-started-standalone.md        | 2 +-
 .../versioned_docs/version-2.2.1/getting-started-standalone.md        | 2 +-
 .../versioned_docs/version-2.3.0/getting-started-standalone.md        | 2 +-
 10 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/site/docs/latest/cookbooks/RetentionExpiry.md b/site/docs/latest/cookbooks/RetentionExpiry.md
index 60beed2..2a180c4 100644
--- a/site/docs/latest/cookbooks/RetentionExpiry.md
+++ b/site/docs/latest/cookbooks/RetentionExpiry.md
@@ -230,10 +230,10 @@ Map<BacklogQuota.BacklogQuotaType,BacklogQuota> quotas =
 
 #### pulsar-admin
 
-Use the [`remove-backlog-quotas`](../../reference/CliTools#pulsar-admin-namespaces-remove-backlog-quota) subcommand and specify a namespace. Here's an example:
+Use the [`remove-backlog-quota`](../../reference/CliTools#pulsar-admin-namespaces-remove-backlog-quota) subcommand and specify a namespace. Here's an example:
 
 ```shell
-$ pulsar-admin namespaces remove-backlog-quotas my-prop/my-cluster/my-ns
+$ pulsar-admin namespaces remove-backlog-quota my-prop/my-cluster/my-ns
 ```
 
 #### REST API
diff --git a/site/docs/latest/getting-started/LocalCluster.md b/site/docs/latest/getting-started/LocalCluster.md
index 124df5c..178496e 100644
--- a/site/docs/latest/getting-started/LocalCluster.md
+++ b/site/docs/latest/getting-started/LocalCluster.md
@@ -84,7 +84,7 @@ Here's an example producer for a Pulsar {% popover topic %} using the [Java](../
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site/ja/advanced/RetentionExpiry.md b/site/ja/advanced/RetentionExpiry.md
index 1dec6bf..d749ed3 100644
--- a/site/ja/advanced/RetentionExpiry.md
+++ b/site/ja/advanced/RetentionExpiry.md
@@ -220,10 +220,10 @@ Map<BacklogQuota.BacklogQuotaType,BacklogQuota> quotas =
 
 #### pulsar-admin
 
-[`remove-backlog-quotas`](../../reference/CliTools#pulsar-admin-namespaces-remove-backlog-quotas)サブコマンドを使用してネームスペースを指定してください。以下は例となります:
+[`remove-backlog-quota`](../../reference/CliTools#pulsar-admin-namespaces-remove-backlog-quotas)サブコマンドを使用してネームスペースを指定してください。以下は例となります:
 
 ```shell
-$ pulsar-admin namespaces remove-backlog-quotas my-prop/my-cluster/my-ns
+$ pulsar-admin namespaces remove-backlog-quota my-prop/my-cluster/my-ns
 ```
 
 #### REST API
diff --git a/site2/docs/getting-started-standalone.md b/site2/docs/getting-started-standalone.md
index c0ee32e..af66156 100644
--- a/site2/docs/getting-started-standalone.md
+++ b/site2/docs/getting-started-standalone.md
@@ -217,7 +217,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site2/website/versioned_docs/version-2.1.0-incubating/cookbooks-retention-expiry.md b/site2/website/versioned_docs/version-2.1.0-incubating/cookbooks-retention-expiry.md
index f60b691..bf36373 100644
--- a/site2/website/versioned_docs/version-2.1.0-incubating/cookbooks-retention-expiry.md
+++ b/site2/website/versioned_docs/version-2.1.0-incubating/cookbooks-retention-expiry.md
@@ -203,10 +203,10 @@ Map<BacklogQuota.BacklogQuotaType,BacklogQuota> quotas =
 
 #### pulsar-admin
 
-Use the [`remove-backlog-quotas`](reference-pulsar-admin.md#pulsar-admin-namespaces-remove-backlog-quota) subcommand and specify a namespace. Here's an example:
+Use the [`remove-backlog-quota`](reference-pulsar-admin.md#pulsar-admin-namespaces-remove-backlog-quota) subcommand and specify a namespace. Here's an example:
 
 ```shell
-$ pulsar-admin namespaces remove-backlog-quotas my-tenant/my-ns
+$ pulsar-admin namespaces remove-backlog-quota my-tenant/my-ns
 ```
 
 #### REST API
diff --git a/site2/website/versioned_docs/version-2.1.0-incubating/getting-started-standalone.md b/site2/website/versioned_docs/version-2.1.0-incubating/getting-started-standalone.md
index 26dfe9a..9404115 100644
--- a/site2/website/versioned_docs/version-2.1.0-incubating/getting-started-standalone.md
+++ b/site2/website/versioned_docs/version-2.1.0-incubating/getting-started-standalone.md
@@ -157,7 +157,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site2/website/versioned_docs/version-2.1.1-incubating/getting-started-standalone.md b/site2/website/versioned_docs/version-2.1.1-incubating/getting-started-standalone.md
index caf5ae9..dc05725 100644
--- a/site2/website/versioned_docs/version-2.1.1-incubating/getting-started-standalone.md
+++ b/site2/website/versioned_docs/version-2.1.1-incubating/getting-started-standalone.md
@@ -172,7 +172,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site2/website/versioned_docs/version-2.2.0/getting-started-standalone.md b/site2/website/versioned_docs/version-2.2.0/getting-started-standalone.md
index de59231..a111cb6 100644
--- a/site2/website/versioned_docs/version-2.2.0/getting-started-standalone.md
+++ b/site2/website/versioned_docs/version-2.2.0/getting-started-standalone.md
@@ -218,7 +218,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site2/website/versioned_docs/version-2.2.1/getting-started-standalone.md b/site2/website/versioned_docs/version-2.2.1/getting-started-standalone.md
index b4ff75c..5845bce 100644
--- a/site2/website/versioned_docs/version-2.2.1/getting-started-standalone.md
+++ b/site2/website/versioned_docs/version-2.2.1/getting-started-standalone.md
@@ -218,7 +218,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```
 
diff --git a/site2/website/versioned_docs/version-2.3.0/getting-started-standalone.md b/site2/website/versioned_docs/version-2.3.0/getting-started-standalone.md
index 0fc4ba4..0b3db92 100644
--- a/site2/website/versioned_docs/version-2.3.0/getting-started-standalone.md
+++ b/site2/website/versioned_docs/version-2.3.0/getting-started-standalone.md
@@ -233,7 +233,7 @@ Here's an example producer for a Pulsar topic using the [Java](client-libraries-
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
 
-PulsarClient client = PulsarClient.builder().serviceURL(localClusterUrl).build();
+PulsarClient client = PulsarClient.builder().serviceUrl(localClusterUrl).build();
 Producer<byte[]> producer = client.newProducer().topic("my-topic").create();
 ```