Redgate Flyway

Flyway Clickhouse Zookeeper Path Setting

Description

The path to the Zookeeper node that contains the Clickhouse cluster configuration.

Type

String

Default

none

Usage

Flyway Desktop

This can't be configured via Flyway Desktop, although it will be honoured.

Command-line

./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.getConfigurationExtension(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>

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?