按照
https://seatunnel.apache.org/docs/2.3.8/connector-v2/sink/Clickhouse/#sink-options里面提到的 clickhouse.config ,其支持的是 jdbc client
https://github.com/ClickHouse/clickhouse-java/blob/main/clickhouse-jdbc/README.md根据 clickhouse 官网给出的 jdbc 例子:
https://clickhouse.com/docs/en/integrations/java/jdbc-driver#ssl-properties理论上应该是
sink {
Clickhouse {
# ClickHouse Cloud 连接配置
host = "xxx.clickhouse.cloud:8443"
database = "local_test"
table = "t_test"
username = "default"
password = "123456"
....
clickhouse.config {
ssl = "true"
sslmode = "strict"
sslrootcert = “path_to_root_cert”
}
}