Clickhouse Zookeeper Path
Published 30 January 2024
Clickhouse Zookeeper Path
Description
The path to the Zookeeper node that contains the Clickhouse cluster configuration.
Usage
Commandline
./flyway -clickhouse.zookeeperPath="/clickhouse/tables/{shard}/{database}/{table}" info
TOML Configuration File
[flyway]
clickhouse.zookeeperPath = "/clickhouse/tables/{shard}/{database}/{table}"
Configuration File
flyway.clickhouse.zookeeperPath=/clickhouse/tables/{shard}/{database}/{table}
Environment Variable
FLYWAY_CLICKHOUSE_ZOOKEEPER_PATH=/clickhouse/tables/{shard}/{database}/{table}
API
ClickHouseConfigurationExtension clickHouseConfigurationExtension = configuration.getPluginRegister().getPlugin(ClickHouseConfigurationExtension.class);
clickHouseConfigurationExtension.setZookeeperPath("/clickhouse/tables/{shard}/{database}/{table}");
Gradle
flyway {
pluginConfiguration = [
clickhouseZookeeperPath: '/clickhouse/tables/{shard}/{database}/{table}'
]
}
Maven
<configuration>
<pluginConfiguration>
<clickhouseZookeeperPath>/clickhouse/tables/{shard}/{database}/{table}</clickhouseZookeeperPath>
</pluginConfiguration>
</configuration>