---
title: "Real-time event streaming with ClickHouse, Confluent Cloud and ClickPipes"
description: "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."
url: "https://swe.quest/articles/real-time-event-streaming-with-clickhouse-confluent-cloud-and-clickpipes-879faea273bbaac2"
canonical: "https://clickhouse.com/blog/real-time-event-streaming-with-confluent-cloud-clickhouse-and-clickpipes"
source: "ClickHouse"
published: "2023-07-20"
difficulty: "medium"
kind: "How-to"
reading_minutes: 7
tags: ["stream-processing","messaging","analytics","data-pipelines"]
---

# Real-time event streaming with ClickHouse, Confluent Cloud and ClickPipes

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-07-20, 7 min read, How-to. Original: [https://clickhouse.com/blog/real-time-event-streaming-with-confluent-cloud-clickhouse-and-clickpipes](https://clickhouse.com/blog/real-time-event-streaming-with-confluent-cloud-clickhouse-and-clickpipes)

## Summary

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. The pipeline evolved from a batch BigQuery-to-GCS export with about 30 minutes of delay, to a Pub/Sub-to-Kafka stream about 4 minutes behind the chain, and now ClickHouse pulls directly from the Kafka topics. One ClickPipe per topic lands raw JSON into message tables, and materialized views using JSONExtract populate typed MergeTree tables. Configuration tips cover using the Confluent API key as credentials, setting a unique consumer group and supplying the bootstrap endpoint.

Written by swe.quest, not by the author.

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

## Topics

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

## Prerequisites

- Apache Kafka basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- ClickHouse materialized views ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- SQL table DDL ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

ClickHouse Cloud, ClickPipes, Confluent Cloud, Apache Kafka, Google Pub/Sub, Ethereum, MergeTree, BigQuery

## Related posts

- [Real-time Event Streaming with ClickHouse, Kafka Connect and Confluent Cloud](https://swe.quest/articles/real-time-event-streaming-with-clickhouse-kafka-connect-and-confluent-cloud-afbdec81890c4edb.md): ClickHouse · 2023-06-22 · Medium · 18 min read · Queues & messaging, Data pipelines, Analytics & OLAP, Stream processing
  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.
- [Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse](https://swe.quest/articles/data-hive-the-story-of-beehiiv-s-journey-from-postgres-to-clickhouse-467867cb2bebb87b.md): ClickHouse · 2024-08-21 · Easy · 6 min read · Analytics & OLAP, Databases, PostgreSQL, Stream processing, Queues & messaging
  beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline.
- [Collecting Semi-structured Data from Kafka Topics Using ClickHouse Kafka Engine](https://swe.quest/articles/collecting-semi-structured-data-from-kafka-topics-using-clickhouse-kafka-engine-3d9b1ad5e7d388c2.md): ClickHouse · 2022-06-15 · Medium · 5 min read · Analytics & OLAP, Queues & messaging, Data pipelines, Schema migrations
  Superology, a sports-betting product company, ingests clickstream and other customer quantitative data into ClickHouse straight from Kafka using the Kafka table engine with the Protobuf input format.
- [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)
