Clickhouse Cluster Name

Clickhouse Cluster Name

Description

The name of the Clickhouse cluster.

Usage

Commandline

./flyway -clickhouse.clusterName="example_cluster" info

TOML Configuration File

[flyway]
clickhouse.clusterName="example_cluster"

Configuration File

flyway.clickhouse.clusterName=example_cluster

Environment Variable

FLYWAY_CLICKHOUSE_CLUSTER_NAME=example_cluster

API

ClickHouseConfigurationExtension clickHouseConfigurationExtension = configuration.getPluginRegister().getPlugin(ClickHouseConfigurationExtension.class);
clickHouseConfigurationExtension.setClusterName("example_cluster");

Gradle

flyway {
    pluginConfiguration = [
        clickhouseClusterName: 'example_cluster'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <clickhouseClusterName>example_cluster</clickhouseClusterName>
    </pluginConfiguration>
</configuration>

Didn't find what you were looking for?