forked from ClickHouse/dbt-clickhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_config.xml
91 lines (89 loc) · 2.58 KB
/
test_config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<clickhouse>
<http_port>8123</http_port>
<tcp_port>9000</tcp_port>
<interserver_http_port>9009</interserver_http_port>
<macros>
<shard from_env="SHARD_NUM" />
<replica from_env="REPLICA_NUM" />
<server_index from_env="SERVER_INDEX" />
</macros>
<default_replica_path>/clickhouse/tables/{uuid}/{shard}</default_replica_path>
<default_replica_name>{replica}</default_replica_name>
<remote_servers>
<test_shard>
<shard>
<replica>
<host>ch0</host>
<port>9000</port>
</replica>
</shard>
<shard>
<replica>
<host>ch1</host>
<port>9000</port>
</replica>
</shard>
<shard>
<replica>
<host>ch2</host>
<port>9000</port>
</replica>
</shard>
</test_shard>
<test_replica>
<shard>
<replica>
<host>ch0</host>
<port>9000</port>
</replica>
<replica>
<host>ch1</host>
<port>9000</port>
</replica>
<replica>
<host>ch2</host>
<port>9000</port>
</replica>
</shard>
</test_replica>
</remote_servers>
<keeper_server>
<tcp_port>9181</tcp_port>
<server_id from_env="SERVER_INDEX" />
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
</coordination_settings>
<raft_configuration>
<server>
<id>1</id>
<hostname>ch0</hostname>
<port>9234</port>
</server>
<server>
<id>2</id>
<hostname>ch1</hostname>
<port>9234</port>
</server>
<server>
<id>3</id>
<hostname>ch2</hostname>
<port>9234</port>
</server>
</raft_configuration>
</keeper_server>
<zookeeper>
<node index="1">
<host>ch0</host>
<port>9181</port>
</node>
<node index="2">
<host>ch1</host>
<port>9181</port>
</node>
<node index="3">
<host>ch2</host>
<port>9181</port>
</node>
</zookeeper>
</clickhouse>