kafka-ingest-concept/templates/create_clickhouse_sink.sql

13 lines
339 B
MySQL
Raw Normal View History

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',
);