---
title: "MongoDB CDC connector for ClickPipes is now generally available"
description: "The MongoDB CDC connector for ClickPipes is now generally available after replicating over 1.5PB of data for hundreds of production customers. It leverages MongoDB Change Streams for low-latency synchronization and introduces parallel snapshotting that automatically chunks collections by document ID to speed up initial loads and resyncs. A structured ingestion mode samples documents to infer a schema, mapping top-level fields to typed ClickHouse columns while storing unexpected or type-mismatched values in a JSON column for later handling. Observability has been extended with metrics for CPU, memory, network bandwidth, and replication lag, available in the ClickPipes UI and via Prometheus endpoint. The connector supports programmatic management through Open API and Terraform, and its billing is based on data volume with a fixed compute cost per service, offering 5-10x cost savings over third-party ETL tools."
---

# MongoDB CDC connector for ClickPipes is now generally available

[Clickhouse](https://yomu.fyi/company/clickhouse) · Nov 4, 2026

**Type:** Announcement

## Summary

The MongoDB CDC connector for ClickPipes is now generally available after replicating over 1.5PB of data for hundreds of production customers. It leverages MongoDB Change Streams for low-latency synchronization and introduces parallel snapshotting that automatically chunks collections by document ID to speed up initial loads and resyncs. A structured ingestion mode samples documents to infer a schema, mapping top-level fields to typed ClickHouse columns while storing unexpected or type-mismatched values in a JSON column for later handling. Observability has been extended with metrics for CPU, memory, network bandwidth, and replication lag, available in the ClickPipes UI and via Prometheus endpoint. The connector supports programmatic management through Open API and Terraform, and its billing is based on data volume with a fixed compute cost per service, offering 5-10x cost savings over third-party ETL tools.

## Context

ClickHouse Cloud needed a robust change data capture connector for MongoDB to enable near real-time analytics on operational document data, replacing slower batch-based pipelines that introduced hours of latency before insights were available.

## Approach / What changed

The GA release adds parallel snapshotting that chunks collections based on document ID ranges with balanced sampling, structured ingestion that infers a schema and maps top-level fields to typed columns while storing mismatches in a JSON column, observability metrics for CPU, memory, network bandwidth, and replication lag, and programmatic management via Open API and Terraform.

## Takeaways

- Parallel snapshotting automatically chunks each collection into ranges based on the document ID and distributes the work, with balanced partition boundaries from sampling, making initial loads and resyncs faster.
- Structured ingestion infers a schema from sampled documents, maps top-level fields to typed ClickHouse columns at ingestion time, and stores new or type-mismatched fields in a \_peerdb\_malformed\_data JSON column flagged accordingly.
- Observability metrics now include CPU usage, memory usage, network receive bandwidth, and replication lag, visible in the ClickPipes UI and the ClickHouse Cloud Prometheus endpoint for easier troubleshooting.

## FAQ

### How does structured ingestion handle unexpected fields?

Fields not included in the initial inferred schema are stored in a \_peerdb\_malformed\_data JSON column, keyed by field name and flagged with 'unexpected\_field': true, so you can access the values before adding a new column without a backfill.

### What metrics are available for monitoring?

The connector reports CPU usage, memory usage, network receive bandwidth, and replication lag. These metrics are available in the ClickPipes UI and via the ClickHouse Cloud Prometheus endpoint.

### How is the MongoDB CDC connector billed?

Billing is based on data volume with a fixed compute cost per service that is shared across all CDC ClickPipes. The connector is 5-10x more cost-effective than using third-party ETL tools.

**Tags:** [CDC](https://yomu.fyi/topic/cdc), [ClickHouse](https://yomu.fyi/topic/clickhouse), [ClickPipes](https://yomu.fyi/topic/clickpipes), [MongoDB](https://yomu.fyi/topic/mongodb), [Terraform](https://yomu.fyi/topic/terraform)

- Source: [Clickhouse](https://clickhouse.com/blog/mongodb-cdc-connector-clickpipes-ga)
- Source URL: https://clickhouse.com/blog/mongodb-cdc-connector-clickpipes-ga
- Ingested by Yomu: 2026-11-04T18:01:07.063Z

[Read original post](https://clickhouse.com/blog/mongodb-cdc-connector-clickpipes-ga)
