ClickHouse/tests/integration/test_insert_into_distributed/configs/remote_servers.xml
2021-09-20 01:38:53 +03:00

60 lines
1.8 KiB
XML

<clickhouse>
<remote_servers>
<test_cluster>
<shard>
<replica>
<host>remote</host>
<port>9000</port>
</replica>
</shard>
</test_cluster>
<test_local_cluster>
<shard>
<replica>
<host>localhost</host>
<port>9000</port>
</replica>
</shard>
</test_local_cluster>
<shard_with_local_replica>
<shard>
<replica>
<host>node1</host>
<port>9000</port>
</replica>
<replica>
<host>node2</host>
<port>9000</port>
</replica>
</shard>
</shard_with_local_replica>
<shard_with_local_replica_internal_replication>
<shard>
<internal_replication>true</internal_replication>
<replica>
<host>node1</host>
<port>9000</port>
</replica>
<replica>
<host>node2</host>
<port>9000</port>
</replica>
</shard>
</shard_with_local_replica_internal_replication>
<shard_with_low_cardinality>
<shard>
<replica>
<host>shard1</host>
<port>9000</port>
</replica>
</shard>
<shard>
<replica>
<host>shard2</host>
<port>9000</port>
</replica>
</shard>
</shard_with_low_cardinality>
</remote_servers>
</clickhouse>