Unordered mode for GCS ClickPipes is now available
GCS ClickPipes in ClickHouse Cloud can now ingest files in any order. Instead of polling the bucket every 30 seconds for the next lexicographically greater filename, the pipe listens for Pub/Sub OBJECT_FINALIZE notifications, so backfills, retries and late-arriving files are no longer silently skipped. Setup involves creating a Pub/Sub topic and subscription, a scoped service account, and a bucket notification configured via gcloud (a dead-letter topic is recommended), then selecting the "Any order" mode. Failed batches are reprocessed automatically with exactly-once guarantees backed by a metadata store, and the same mode already exists for S3, with Azure Blob Storage planned.
Related posts
- Unordered mode for S3 ClickPipes is now available
ClickHouse mediumAdept
S3 ClickPipes in ClickHouse Cloud now support an unordered ingestion mode. Instead of polling the bucket for files that sort lexicographically after the last one ingested, the pipe consumes S3 ObjectCreated event notifications through Amazon SQS, so backfills, retries and late-arriving files are no longer skipped. ClickPipes tracks state in a metadata store and reprocesses failed batches while guaranteeing exactly-once inserts. Setup requires an SQS queue policy, an IAM role trusted by the ClickHouse service with S3 and SQS permissions, and a sorting key on the target table; it can also be configured via the Terraform provider. GCS and Azure support are planned.
- Real-time event streaming with ClickHouse, Confluent Cloud and ClickPipes
ClickHouse mediumAdept
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.
- ClickPy at 2 Trillion rows: Scaling ingestion and fixing the past
ClickHouse mediumAdept
ClickPy, ClickHouse's free PyPI download analytics service, now holds over 2.2 trillion rows, and its cron-based ingestion script was replaced with ClickPipes without downtime. The new pipeline loaded data into a staging database with cloned schemas, a Null-engine raw table and a materialized view that holds all transformation logic. A fresh GCS bucket avoided reprocessing history, and the new pipeline ran in parallel and was validated by comparing daily row counts before cutover. That validation exposed missing historical days, which were fixed with lightweight deletes and per-day re-ingestion. Daily-aggregated materialized views could be deleted and repopulated by date, while non-daily aggregates such as monthly totals had to be dropped, rebuilt and recreated to avoid double counting.
- How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster
ClickHouse mediumAdept
LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud. Raw events are now queried directly, and materialized views are added only where needed. The system ingests about 6 PB/month of uncompressed JSON through an HTTP API, S3 protobuf batches, Lambda-converted Parquet and INSERT INTO SELECT. Data is fresh in about 30 seconds with roughly 100 days of retention, high-cardinality per-user analytics became practical, and seven product features now run on it. Lessons learned: don't coarsen ORDER BY keys, drop OLTP habits (for example, use two-stage queries for latest-N), and plan for workload isolation as adoption outpaces the platform team. Next steps are ingest-time joins for Release Guardian regression detection and migrating Elasticsearch workloads.
- What's new in clickhousectl v0.4.0
ClickHouse mediumAdept
clickhousectl v0.4.0 adds horizontal autoscaling flags for ClickHouse Cloud services (min/max replicas, mutually exclusive with vertical memory-range flags), beta ClickPipe schema discovery for Kafka and Kinesis sources, and new ingestion controls such as --skip-initial-load, --start-after for continuous object-storage pipes and --server-id for MySQL CDC pipes. Postgres config patch now does true partial updates, OAuth tokens move to a global ~/.clickhouse/tokens.json, and local server stop becomes idempotent while local remove refuses to delete a version in use unless --force is passed. The release also introduces anonymous opt-out telemetry that records flag names but never values, and can be disabled via a command, DO_NOT_TRACK=1, or compiled out with cargo build --no-default-features.