DatabricksVictoria Bukta, Omkar Mehta, Wagner SantosProblem & solution
Push-based CDC into Unity Catalog with Zerobus Ingest and Debezium
Summary
Replicating operational database changes into a lakehouse requires reliable capture, ordering, minimal source load, and the ability to work with private networks while avoiding Kafka as an intermediate transport. Debezium is an open-source log-based CDC platform that reads a database’s transaction log and emits each change as a structured event with minimal load on the source. Zerobus Ingest is a serverless push-based ingestion service that writes data directly into Unity Catalog governed Delta tables without requiring a message broker. NVIDIA and Databricks contributed the Zerobus Ingest sink to the Debezium Server standalone runtime, including envelope mode that lands the full Debezium change event with delivery safeguards such as idempotency keys and durable acknowledgment. The combined architecture enables teams to push CDC from private networks directly into Delta tables, streamlining the end-to-end ingestion path compared to the traditional Debezium Kafka Spark pipeline.
Context
The post addresses the difficulty of getting operational database changes into a Databricks lakehouse when the database resides in a private or customer-controlled network with restrictive inbound policies. It contrasts the traditional two-hop architecture (Debezium to Kafka to Spark) with a simpler push-based approach using Debezium Server and Zerobus Ingest. The text explains Debezium’s log-based CDC, the Zerobus Ingest push sink, and the envelope mode contributed by NVIDIA that preserves the full change event with idempotency keys. The goal is to allow the database team to own the capture while data lands in Unity Catalog governed Delta tables.
Approach / What changed
Deploy Debezium Server adjacent to the source database to tail the transaction log and push change events directly to Zerobus Ingest via the contributed sink. Zerobus Ingest appends the events into Unity Catalog Delta tables without a Kafka cluster. Use envelope mode to land the full Debezium change event (including before/after, operation, source metadata, and idempotency key). Downstream, apply AUTO CDC to merge the changelog into a Type-1 current-state table by sequencing changes by source LSN.
Takeaways
Debezium Server with the Zerobus Ingest sink eliminates the need for a Kafka cluster as an intermediate transport when pushing CDC directly into Unity Catalog Delta tables.
Envelope mode, contributed by NVIDIA, lands each full Debezium change event in a fixed nine-column table preserving the operation, key, value, source position, and an idempotency key for downstream deduplication.
Delivery is at-least-once; events must be deduplicated using the idempotency key, and AUTO CDC can build a Type-1 table by sequencing changes by source LSN.
FAQ
What is the Debezium Zerobus Ingest sink?
It is a sink in Debezium Server that sends change events directly to Zerobus Ingest, which writes them into Unity Catalog governed Delta tables. NVIDIA and Databricks collaborated on this open-source contribution.
What is envelope mode?
Envelope mode lands each full Debezium change event in a fixed nine-column table instead of mapping onto the source's columns. It keeps the operation, key, value, source position, and an idempotency key for downstream processing. Typed mode is the default.
Does the sink deliver each change exactly once?
No, delivery is at-least-once. If a later group of records fails, an earlier durable group can be delivered again. Each event carries an idempotency key so you deduplicate on it downstream.
Source and freshness
- Source
- databricks.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.