---
title: "Real-time Event Streaming with ClickHouse, Kafka Connect and Confluent Cloud"
description: "ClickHouse's official Kafka Connect sink, which uses the KeeperMap table engine for exactly-once semantics, can now be deployed as a Confluent Cloud Custom Connector."
url: "https://swe.quest/articles/real-time-event-streaming-with-clickhouse-kafka-connect-and-confluent-cloud-afbdec81890c4edb"
canonical: "https://clickhouse.com/blog/real-time-event-streaming-with-kafka-connect-confluent-cloud-clickhouse"
source: "ClickHouse"
published: "2023-06-22"
difficulty: "medium"
kind: "How-to"
reading_minutes: 18
tags: ["messaging","data-pipelines","analytics","stream-processing"]
---

# Real-time Event Streaming with ClickHouse, Kafka Connect and Confluent Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-06-22, 18 min read, How-to. Original: [https://clickhouse.com/blog/real-time-event-streaming-with-kafka-connect-confluent-cloud-clickhouse](https://clickhouse.com/blog/real-time-event-streaming-with-kafka-connect-confluent-cloud-clickhouse)

## Summary

ClickHouse's official Kafka Connect sink, which uses the KeeperMap table engine for exactly-once semantics, can now be deployed as a Confluent Cloud Custom Connector. The walkthrough streams public Ethereum datasets from Google Pub/Sub through a Confluent Kafka topic into ClickHouse Cloud using only UI configuration, cutting data latency from about 30 minutes with the earlier batch BigQuery export to roughly 4 minutes. Practical tips include using a pull subscription and raising the Pub/Sub acknowledgement deadline from 10s to 60s to avoid duplicate deliveries. Cost estimates are under $1/month for Pub/Sub on the blocks dataset and about $6/day for Confluent.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Stream processing](https://swe.quest/tags/stream-processing.md) (Data & databases)

## Prerequisites

- Apache Kafka basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- Kafka Connect ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- Google Cloud Pub/Sub ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))

## Keywords

ClickHouse, Kafka Connect, Confluent Cloud, Google Pub/Sub, Ethereum, KeeperMap

## Related posts

- [Real-time event streaming with ClickHouse, Confluent Cloud and ClickPipes](https://swe.quest/articles/real-time-event-streaming-with-clickhouse-confluent-cloud-and-clickpipes-879faea273bbaac2.md): ClickHouse · 2023-07-20 · Medium · 7 min read · Stream processing, Queues & messaging, Analytics & OLAP, Data pipelines
  ClickPipes, a managed Kafka ingestion service in ClickHouse Cloud, replaces the ClickHouse Kafka Connector in a pipeline that streams Google's public Ethereum dataset from Pub/Sub through Confluent Cloud into ClickHouse.
- [How Bullet uses ClickHouse Cloud to give DeFi's fastest exchange real-time analytics](https://swe.quest/articles/how-bullet-uses-clickhouse-cloud-to-give-defi-s-fastest-exchange-real-time-2e306d9fa945673c.md): ClickHouse · 2026-07-15 · Medium · 9 min read · Analytics & OLAP, Data pipelines, Databases, Payments & fintech
  Bullet, a Rust-based DeFi perpetuals exchange running as an app-specific rollup on Solana with ~500μs p50 order processing, indexes 150M+ rows per hour of sequencer events into ClickHouse Cloud for trade history, real-time analytics and monitoring.
- [Appcues delivers personalized customer engagement with ClickHouse Cloud](https://swe.quest/articles/appcues-delivers-personalized-customer-engagement-with-clickhouse-cloud-70117f941c9e140c.md): ClickHouse · 2026-06-18 · Medium · 8 min read · Analytics & OLAP, Databases, Performance engineering, Cost optimization
  Appcues moved its customer-facing product analytics and segmentation from Snowflake plus Airflow rollups to ClickHouse Cloud, covering 1.31 PB of data and over 1 billion user profiles.
- [How FabFunnel powers real-time marketing analytics with ClickHouse Cloud](https://swe.quest/articles/how-fabfunnel-powers-real-time-marketing-analytics-with-clickhouse-cloud-693f5ffb0f0b9887.md): ClickHouse · 2025-11-20 · Medium · 5 min read · Analytics & OLAP, Data pipelines, MySQL, Ads, Performance engineering
  FabFunnel moved its marketing analytics off a normalized MySQL reporting stack, where month-long queries took 11 seconds and year-long reports crashed browsers due to client-side merges, to ClickHouse Cloud.
- [How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster](https://swe.quest/articles/how-clickhouse-cloud-enabled-launchdarkly-to-build-and-ship-features-faster-0e4ac03aed14f7e6.md): ClickHouse · 2026-01-22 · Medium · 10 min read · Analytics & OLAP, Data pipelines, Observability, Multi-tenancy, Cloud platforms
  LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
