Skip to main content

Runbooks for CDC pipelines and Iceberg tables

These runbooks cover the problems people hit most when they move data out of a database with change data capture (CDC) and into Apache Iceberg tables. Each one explains a mechanism once, then lists the exact messages it produces in each tool and version.

Every page is backed by a lab in the docs repository. The failure was reproduced there before the page was written, and the page quotes the output the lab captured, with the date and the versions of the run.

The fixes are for the tool or database the page is about. None of them needs OLake Go, and where OLake Go has the same limit the page says so.

PostgreSQL​

  • Replication slot is filling the disk: find the slot that holds the write-ahead log (WAL), get its consumer confirming again or drop it safely, and cap it with max_slot_wal_keep_size. Run on PostgreSQL 12 to 18 and the 19 release candidate.
  • Enable logical replication for CDC: the six prerequisites on a self-hosted server with the error each gives when it is missing, then what Amazon RDS, Aurora, Cloud SQL and Azure change.

MySQL​

SQL Server​

Debezium​

  • Connector is RUNNING but captures nothing: five causes on MySQL and PostgreSQL with the command that proves each one: include lists, snapshot mode, topic creation, the publication, and a connector with no task.
  • The db history topic is missing: the schema history topic is lost while the offsets survive. Recovery mode, when it is not safe, and the related "schema isn't known to this connector" error.

Kafka Connect​

Apache Iceberg​

The Iceberg runbooks are grouped by where the problem shows up: writes, maintenance and query engines.

  • Iceberg schema evolution errors: type changes, missing and extra columns, mergeSchema, renames, required columns and case, with the messages from Spark 3.3 to 4.0, PyIceberg and Trino.
  • Iceberg compaction: when rewrite_data_files rewrites nothing: the thresholds that skip files, what compaction leaves in storage and manifests, and how it fails against a concurrent delete, on Iceberg 1.4 and 1.12.
  • Spark cannot find Iceberg: the runtime jar, the catalog and the SQL extensions, with the error each missing piece gives on Spark 3.3, 3.5 and 4.0, and how to see what a session loaded.