How to Set Up MongoDB Atlas → MSK (Kafka) → ClickHouse on AWS

This guide shows how to wire MongoDB Atlas → Amazon MSK (Kafka) → ClickHouse on AWS so that change events from existing MongoDB apps are captured in a fast, queryable store. You’ll get: A lossless CDC stream of MongoDB changes into Kafka An optional config‑driven normalizer to add tags/attributes A ClickHouse sink for sub‑second queries and analytics Security and cost controls that work in a typical enterprise VPC 0) Architecture at a Glance MongoDB Atlas (Change Streams) │ (Atlas Kafka Source Connector) ▼ Amazon MSK (Kafka) ──► [Optional] Normalizer (Kafka consumer) │ │ │ └─ emits normalized events ▼ ClickHouse on AWS ◄─────────────┘ (Kafka Engine table or small consumer) Why this shape? Atlas produces change events; MSK is your durable bus; ClickHouse gives you fast, tag‑rich queries and easy rollups. ...

August 9, 2025 · 6 min · Ted Strall