Update replication.md

This commit is contained in:
alexey-milovidov 2021-01-04 20:58:26 +03:00 committed by GitHub
parent a4f8a5390e
commit e476dcdba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,15 +38,15 @@ Example of setting the addresses of the ZooKeeper cluster:
``` xml ``` xml
<zookeeper> <zookeeper>
<node index="1"> <node>
<host>example1</host> <host>example1</host>
<port>2181</port> <port>2181</port>
</node> </node>
<node index="2"> <node>
<host>example2</host> <host>example2</host>
<port>2181</port> <port>2181</port>
</node> </node>
<node index="3"> <node>
<host>example3</host> <host>example3</host>
<port>2181</port> <port>2181</port>
</node> </node>
@ -61,21 +61,21 @@ Example of setting the addresses of the auxiliary ZooKeeper cluster:
``` xml ``` xml
<auxiliary_zookeepers> <auxiliary_zookeepers>
<zookeeper2> <zookeeper2>
<node index="1"> <node>
<host>example_2_1</host> <host>example_2_1</host>
<port>2181</port> <port>2181</port>
</node> </node>
<node index="2"> <node>
<host>example_2_2</host> <host>example_2_2</host>
<port>2181</port> <port>2181</port>
</node> </node>
<node index="3"> <node>
<host>example_2_3</host> <host>example_2_3</host>
<port>2181</port> <port>2181</port>
</node> </node>
</zookeeper2> </zookeeper2>
<zookeeper3> <zookeeper3>
<node index="1"> <node>
<host>example_3_1</host> <host>example_3_1</host>
<port>2181</port> <port>2181</port>
</node> </node>