Skip to content
2025 Kaufland e-commerce · Platform

Testing Debezium Server and Iceberg to rely less on Kafka

A proof of concept to replicate MySQL and MongoDB to Iceberg tables with Debezium Server, without Kafka. It worked for small tables, but BigQuery limits and schema issues stopped it, so we kept Kafka.

Context
Kaufland e-commerce, data platform
Role
Data Platform Engineer
When
2025

The situation

Our CDC goes from Debezium to Kafka, then through our own sinks into BigQuery. Kafka is the biggest part to run, and we were also looking at moving it to Confluent Cloud (this idea has been dropped later). Before that, we wanted to know if we could rely less on it.

Debezium Server can write changes directly to a target, without Kafka. With its Iceberg sink, the changes land as Iceberg tables in Cloud Storage, and BigQuery can read them as external tables.

How we tested it

We tested it in three steps:

  1. Locally, on MySQL and MongoDB: inserts, updates, deletes, schema changes, snapshots and bulk changes.
  2. On staging, with real traffic and bigger tables.
  3. On production, with two connectors: one for a table with hundreds of millions of rows, and one for small tables.

We also quickly tried the Debezium Server BigQuery sink, which writes to BigQuery directly.

What we found

On production, the small connector worked, and its tables matched the existing ones. The big one failed on the snapshot.

The decision

It wasn’t ready for our setup back in the time, so we decided to move on with the Kafka work without it. I believe that the solution has evolved and Debezium Server with Iceberg and BigQuery are covering many of the limitation we faced.