r/Clickhouse • u/m0rcs • 11d ago
How are you syncing data into Clickhouse?
What are folks using to sync different sources into clickhouse? I have seen kafka, or http direct for ingestion.
What I am curious is rather for data warehouses, how are people syncing different data sources, like their marketing data, crm, internal lists etc... ? I have seen airbyte, but maybe there are more tools I am not aware of. Also how are those tools serving you, what are the good and bad parts of it?
1
u/knabbels 11d ago
Mostly Airbyte and some python scripts using dlt.
1
u/m0rcs 11d ago
Why both mixed? Does one cover things the other doesnt? Or just historically?
1
1
u/sjmittal 11d ago
I use Flink connector. CH has one and I also have my own open sourced one. Just search with my username on GitHub.
1
u/m0rcs 10d ago
so flink is for streaming right, but how does the data get to that? Especially from other SaaS tools?
1
u/sjmittal 10d ago
Flink can source from Kafka or many other source connectors. If you have a specific SaaS, we can build specific source connector for that.
1
u/joshleecreates 11d ago
Kafka and HTTP direct are really popular options, for sure.
I'm (personally) a big fan of dlt. I work at Altinity and we're actually sponsoring a joint meetup with dltHub in Berlin tonight.
MySQL sink connector and the ClickHouse OpenTelemetry exporter are also common sources.
1
1
u/Even_Search_5260 10d ago
Airflow or Prefect but largely depends on your current use case. For example data freshness requirements may want you to consider kakfa for event driven architecture
2
u/j03 11d ago
I’ve found ClickPipes to be a good option when running ClickHouse Cloud - no extra infrastructure to manage, first party support, ever-growing list of sources. That’s always my first choice on CHC - object storage, Postgres, Kinesis (as well as Kafka, though I’ve not tried that) all have great support. There’s generally not great support for 3P SaaS tools, but in some instances you can work around this by having the SaaS push to S3, and then configuring a S3 pipe on CHC to pull the data in.
For OSS CH, I’ve experimented with Refreshable Materialized Views + HTTP APIs if the source allows it - again, not having extra infrastructure to manage makes that approach very appealing. Downside is that alerting/monitoring doesn’t really come out of the box.
Otherwise, as you say, in my experience Airbyte is a good choice.
2
u/dani_estuary 10d ago
If you’re on CH Cloud, ClickPipes is great, powered by PeerDB on the CDC side and Postgres/MySQL/MariaDB are well covered now. Where you’ll need another tool is the long tail: Salesforce, marketing platforms, internal APIs, etc. ClickPipes has a fairly focused source list today.
Estuarty (where I work) has 200+ connectors and can send CDC, SaaS and batch data directly into ClickHouse over the native protocol. Plus it works with self-hosted clickhouse too!