Skip to content

How to use HStream connectors with ClickHouse


Clickhouse Connector

connector options and default value for clickhouse includes:

username = "default"
password = ""
host = ""
port = 9000
database = "default"

An example to create a clickhouse connector which subscribes from stream source and write data to clickhouse looks like:

CREATE SINK CONNECTOR mysql WITH (type = clickhouse, host = "", port = 9000, stream = source);

The clickhouse table name will be the same as the stream name.

Back to top