kafka-ingest-concept/templates/create_clickhouse_sink.sql
kjuulh a0be74c4d8
feat: with clickhouse
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-08-05 22:24:11 +02:00

13 lines
339 B
SQL

CREATE SINK click_stats
FROM
m_click_statistic WITH (
connector = 'clickhouse',
type = 'append-only',
force_append_only='true',
clickhouse.url = 'http://clickhouse-server-1:8123',
clickhouse.user = 'default',
clickhouse.password = '',
clickhouse.database = 'default',
clickhouse.table='click_stats',
);