You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/01 12:13:59 UTC

[GitHub] massakam closed pull request #1133: Property name in documentation is incorrect

massakam closed pull request #1133: Property name in documentation is incorrect
URL: https://github.com/apache/incubator-pulsar/pull/1133
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site/docs/latest/deployment/instance.md b/site/docs/latest/deployment/instance.md
index 5030b086e..6a6b34ba3 100644
--- a/site/docs/latest/deployment/instance.md
+++ b/site/docs/latest/deployment/instance.md
@@ -160,7 +160,7 @@ that can contain many topic. Common practice is to create a namespace for each
 different use case from a single tenant.
 
 ```shell
-$ bin/pulsar-admin namespaces create test/us-west/ns1
+$ bin/pulsar-admin namespaces create test-prop/us-west/ns1
 ```
 
 ##### Testing producer and consumer
@@ -173,24 +173,24 @@ created the first time a producer or a consumer tries to use them.
 
 The topic name in this case could be:
 
-{% include topic.html p="test" c="us-west" n="ns1" t="my-topic" %}
+{% include topic.html p="test-prop" c="us-west" n="ns1" t="my-topic" %}
 
 Start a consumer that will create a subscription on the topic and will wait
 for messages:
 
 ```shell
-$ bin/pulsar-perf consume persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-perf consume persistent://test-prop/us-west/ns1/my-topic
 ```
 
 Start a producer that publishes messages at a fixed rate and report stats every
 10 seconds:
 
 ```shell
-$ bin/pulsar-perf produce persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-perf produce persistent://test-prop/us-west/ns1/my-topic
 ```
 
 To report the topic stats:
 
 ```shell
-$ bin/pulsar-admin persistent stats persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-admin persistent stats persistent://test-prop/us-west/ns1/my-topic
 ```
diff --git a/site/ja/deployment/InstanceSetup.md b/site/ja/deployment/InstanceSetup.md
index 8c7e0b0a9..bfc76c83a 100644
--- a/site/ja/deployment/InstanceSetup.md
+++ b/site/ja/deployment/InstanceSetup.md
@@ -149,14 +149,14 @@ $ bin/pulsar-admin properties create test-prop \
   --admin-roles test-admin-role
 ```
 
-???????`test-admin-role`??????????`us-west`????????????`test`??????????????????????????????????????????????????
+???????`test-admin-role`??????????`us-west`????????????`test-prop`??????????????????????????????????????????????????
 
 ??????????????????????????{% popover_ja ??????? %}?????????????
 
 ????????????????????????????????????????????????????????????????????????????????????????????????????
 
 ```shell
-$ bin/pulsar-admin namespaces create test/us-west/ns1
+$ bin/pulsar-admin namespaces create test-prop/us-west/ns1
 ```
 
 ##### Producer?Consumer????
@@ -167,22 +167,22 @@ $ bin/pulsar-admin namespaces create test/us-west/ns1
 
 ????????????????????:
 
-{% include topic.html p="test" c="us-west" n="ns1" t="my-topic" %}
+{% include topic.html p="test-prop" c="us-west" n="ns1" t="my-topic" %}
 
 ??????????????????????????????Consumer??????:
 
 ```shell
-$ bin/pulsar-perf consume persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-perf consume persistent://test-prop/us-west/ns1/my-topic
 ```
 
 ?????????????????10???????????????Producer??????:
 
 ```shell
-$ bin/pulsar-perf produce persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-perf produce persistent://test-prop/us-west/ns1/my-topic
 ```
 
 ????????????????????????????:
 
 ```shell
-$ bin/pulsar-admin persistent stats persistent://test/us-west/ns1/my-topic
+$ bin/pulsar-admin persistent stats persistent://test-prop/us-west/ns1/my-topic
 ```


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services