Technology

Flink CDC

Apache Flink connectors for reading database change logs (MySQL binlog, PostgreSQL WAL) and streaming them directly into lakehouse formats on S3 without an intermediate message broker.

9 connections3 resources1 post

Summary

What it is

Apache Flink connectors for reading database change logs (MySQL binlog, PostgreSQL WAL) and streaming them directly into lakehouse formats on S3 without an intermediate message broker.

Where it fits

Flink CDC removes Kafka from the CDC pipeline. Instead of Database → Debezium → Kafka → Flink → S3, the architecture becomes Database → Flink CDC → S3. This reduces latency, operational complexity, and infrastructure costs for database-to-lakehouse replication.

Misconceptions / Traps
  • Eliminating Kafka also eliminates its replay buffer. If the Flink job fails, replay must come from the database logs, which may have limited retention.
  • Memory usage can be significant under high-throughput workloads. Capacity planning for Flink CDC is critical.
Key Connections
  • depends_on Apache Flink — runs as Flink connectors
  • enables Apache Paimon, Apache Iceberg, Apache Hudi — writes CDC data directly to lakehouse formats
  • scoped_to Table Formats — ingestion framework for S3-based table formats

Definition

What it is

A set of Apache Flink connectors that read database change logs (MySQL binlog, PostgreSQL WAL, MongoDB oplog) and stream them directly into lakehouse table formats on S3, without requiring an intermediate message broker.

Why it exists

Traditional CDC pipelines require Kafka or a similar message queue between the source database and the lake. Flink CDC eliminates this intermediate layer by reading change logs directly and writing to Iceberg, Paimon, or Hudi on S3, reducing operational complexity and latency.

Primary use cases

Database-to-lakehouse replication without Kafka, real-time data mirroring from operational databases to S3, streaming CDC ingestion into Iceberg or Paimon tables.

Recent developments

Latest signals
  • Flink CDC 3.6.0 (March 30, 2026) — schema evolution reaches PostgreSQL, VARIANT lands in sinks. The release extends Flink support to 1.20.x/2.2.x (JDK 11 baseline), adds an Oracle source and an Apache Hudi sink pipeline connector, and introduces the VARIANT type with JSON parsing in the Transform framework — semi-structured payloads now map to Parquet's binary variant format instead of flattened columns or raw strings, giving engines columnar access to schemaless data. PostgreSQL schema evolution means upstream ALTER TABLE events propagate and mutate the downstream Iceberg schema automatically. Per Apache Flink CDC 3.6.0 release announcement.
  • The benchmark pressure is real: single-process Rust challengers are 7× faster untuned. The New Stack's April 2026 normalized single-node benchmark (TPC-H SF50, 3 cores / 13 GB) put Supermetal's Postgres→Iceberg snapshot at 13 minutes vs Flink CDC's 90–116 minutes — and Flink needed aggressive tuning (fetch size 8k, split size 80k, 5-min checkpoints) to get there. Alibaba Cloud's counter-move: parallel binlog parsing (+14%) and parallel serialization (+42%) deliver an 80% single-table boost, up to 10× when filtering multiple tables in Realtime Compute. Flink CDC keeps the distributed exactly-once high ground; the single-node snapshot economics now favor Supermetal-class tools. Per Postgres to Iceberg in 13 minutes (The New Stack) and Best Practices for Flink CDC YAML (Alibaba Cloud).
  • Sub-second end-to-end latency, no-Kafka pipelines positioned as the primary CDC option. Per the Flink CDC official docs, the current release ships incremental snapshot algorithm (no source-database lock), schema evolution with automatic downstream table creation and DDL application, full streaming pipeline with sub-second end-to-end latency, and SQL-shaped transformations (projection, filtering, computed columns). The "skip the Kafka hop" framing is now the canonical reason to pick Flink CDC over Debezium + Kafka Connect for Iceberg/Paimon/Hudi sinks.
  • Operational tradeoff documented honestly in CDC tooling surveys. Per RisingWave's CDC tools comparison (April 2026), Flink CDC's strengths (sub-second latency, no Kafka required, full Java/SQL transformations) come with real costs: JVM expertise required, checkpoint configuration, RocksDB state backend tuning, JobManager / TaskManager cluster ops, and a SQL surface area narrower than RisingWave's. Decision framing: pick Flink CDC when transformation capability and operational depth justify the JVM overhead; pick a SQL-shaped streaming database when the workload fits the SQL surface area cleanly.

Connections9

Outbound6
Inbound3
used_by1
alternative_to1

Resources3

Featured in