все на одном хосте (реплики, zookeeper)

Автор: talifa, 17 июня, 2023

   <remote_servers>
       <shard_localhost>
           <shard>
               <internal_replication>true</internal_replication>
               <replica>
                   <host>localhost</host>
                   <port>9000</port>
               </replica>
           </shard>
       </shard_localhost>
   </remote_servers>


<!--
   <zookeeper incl="zookeeper">
   </zookeeper>
-->

<!--
   <macros incl="macros">
   </macros>
-->
   <zookeeper>
       <node index="1">
           <host>0.0.0.0</host>
           <port>2181</port>
       </node>
   </zookeeper>

   <macros>
       <shard>01</shard>
       <replica>replica-01</replica>
   </macros>