Anonymitaet commented on a change in pull request #9857:
URL: https://github.com/apache/pulsar/pull/9857#discussion_r592933329



##########
File path: site2/docs/administration-geo.md
##########
@@ -45,6 +45,32 @@ All messages produced in any of the three clusters are 
delivered to all subscrip
 
 As stated in [Geo-replication and Pulsar 
properties](#geo-replication-and-pulsar-properties) section, geo-replication in 
Pulsar is managed at the [tenant](reference-terminology.md#tenant) level.
 
+The following example connects three clusters: **us-east**, **us-west**, and 
**us-cent**.
+
+### Connect Clusters
+
+To replicate among clusters, you must first configure each cluster to connect 
to the other. You can use the 
[`pulsar-admin`](reference-pulsar-admin.md#clusters) tool to create the 
connection.
+
+Run the following command in **us-west** to configure the connection to 
**us-east**:
+
+```shell
+$ bin/pulsar-admin clusters create \
+  --broker-url pulsar://<DNS-OF-US-EAST>:<PORT>        \
+  --url http://<DNS-OF-US-EAST>:<PORT> \
+  us-east
+```
+
+Then, run the following command in **us-west** to configure the connection to 
**us-cent**:
+
+```shell
+$ bin/pulsar-admin clusters create \
+  --broker-url pulsar://<DNS-OF-US-CENT>:<PORT>        \
+  --url http://<DNS-OF-US-CENT>:<PORT> \
+  us-cent
+```
+
+Analogous commands will need to be run in **us-east** and **us-cent** to 
create the remaining necessary cluster connections for replication. For 
clusters using a secure connection, see the 
[`pulsar-admin`](reference-pulsar-admin.md#clusters) create command. 

Review comment:
       @michaeljmarshall thanks for your feedback.
   
   1. `reference-pulsar-admin.md` is deprecated. Details: 
https://github.com/apache/pulsar/pull/9813
   
![image](https://user-images.githubusercontent.com/50226895/110899887-d46b2480-833c-11eb-989b-dcab95caf4c5.png)
   
   2. It is better to use general links rather than specific links since here 
modifies master docs. Users can search and find their desired commands on 
http://pulsar.apache.org/tools/pulsar-admin/.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to