housepower / clickhouse_sinker

Easily load data from kafka to ClickHouse
https://housepower.github.io/clickhouse_sinker
Apache License 2.0
516 stars 118 forks source link

Record into 2 tables from the same topic #51

Closed bun4uk closed 4 years ago

bun4uk commented 4 years ago

Hi! I was wondering if it is possible to record into 2 different tables from the same topic and how can I configure this process.

sundy-li commented 4 years ago

Yes, you can set different consumerGroup and tableName in two task files.

See https://github.com/housepower/clickhouse_sinker/blob/master/conf/tasks/falcon_sample.json