Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

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.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>

Didn't find what you were looking for?