Table of Content
Subscribe to our Newsletter
Get the latest from our team delivered to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Ready to get started?
Try It Free
Change data capture pipelines move data the moment it changes, not on the next scheduled run. That speed is the whole point of adopting CDC, but it creates a lineage problem most teams do not notice until an audit or an incident forces the question of which code path a given record actually traveled through. For teams running CDC on Kafka, Debezium style connectors, or cloud native event buses, most lineage tools cannot answer that question. They were built around batch transformation boundaries and capture a snapshot every few hours. A CDC pipeline does not wait for that snapshot. Closing the gap requires lineage derived from the actual code in the CDC connectors, stream processors, and consumers, not from periodic scans of warehouse metadata.
Most lineage tooling was designed around a scheduled job model: extract, transform, load, then record what happened. That model assumes a transformation has a clear start and end, and that metadata scans run often enough to catch every change. CDC breaks both assumptions. A single source table change can fan out through a message broker to a dozen consumers within seconds, each one a separate piece of code with its own transformation logic. A tool that only inspects warehouse tables after the fact sees the destination, not the path. It cannot tell a compliance team which consumer, which transformation, or which deployed version of a streaming job actually touched a given field.
Catching these before they reach production follows the same discipline covered in how to catch data pipeline breaking changes before they ship, except CDC multiplies the number of places a breaking change can hide.
Change data capture (CDC) is a set of techniques for identifying and capturing changes made to data in a source system so they can be propagated to downstream systems in near real time.
CDC typically works through log based replication, trigger based capture, or timestamp polling, pushing insert, update, and delete events into a streaming platform such as Kafka or a cloud native event bus. Teams adopt CDC to keep analytics, search indexes, and downstream services synchronized without waiting for a batch window. The tradeoff is that a single source change now travels through a chain of connectors, consumers, and transformations instead of one scheduled job, which multiplies the number of code paths that lineage has to account for.
When a CDC pipeline misbehaves, the cost shows up as hours spent manually reconstructing which connector, consumer, or transformation touched a record, instead of minutes spent reading a lineage graph that already reflects the production code. The same gap shows up in audits: a reviewer asking how a specific field moved from a source database to a downstream report needs an answer tied to the code that is actually deployed, not a diagram drawn from the last documentation update. Ramp saw its build success rate improve from 85 percent to 95 percent after adopting governance that scales with its engineering organization, according to Kevin Chao, Analytics Engineering Lead, who runs this across 40 or more engineers and 100 or more pull requests weekly. That kind of outcome depends on lineage that reflects the code in production, not a periodic approximation of it.
| Dimension | Batch oriented lineage tools | Code derived CDC lineage |
|---|---|---|
| When lineage updates | On the next scheduled metadata scan | Automatically when connector or consumer code changes |
| What it sees | Source and destination tables | Every connector, stream processor, and consumer in between |
| Coverage of streaming code | Limited or none for Kafka consumers, Flink, Spark Streaming | Full, since lineage is derived from that code directly |
| Audit readiness | Reconstructed after the fact, often manually | Available on demand, tied to the deployed code path |
Auditable CDC lineage comes from analyzing the actual code that moves and transforms the data: the connector configuration, the stream processing logic, and the consumer services, not just the tables the pipeline eventually writes to. Foundational analyzes source code across any code that touches data, including Kafka consumers and producers, Spark and Flink streaming jobs, and the Java, Python, or Scala services that sit between them, not only the pipeline's entry and exit points. Because that lineage is derived directly from code, it regenerates automatically when a connector is redeployed or a transformation changes, instead of waiting on the next scheduled metadata crawl. That is what makes governance of CDC pipelines proactive rather than a forensic exercise after something has already gone wrong: the lineage graph reflects what the code does today, not what a scan observed last week. It is the same principle behind governing data at the code level, applied specifically to streaming and CDC pipelines.
Most lineage tools were built to scan warehouse and table metadata on a schedule, which works for batch ETL but misses the connectors, stream processors, and consumer services that make up a CDC pipeline. Those components are application code, not warehouse objects, so a metadata scanner never sees the transformation logic inside them. Lineage derived from the code itself, rather than from what lands in a table afterward, is what closes this gap.
Change data capture is the mechanism that moves data changes from a source system to downstream consumers in near real time. Data lineage is the record of how that data moved and what transformed it along the way. CDC without lineage tells you data changed; lineage tells you which code changed it, through which systems, and what depends on it now.
Yes, because the lineage is generated from the connector, stream processing, and consumer code itself rather than from observing data after it lands. When that code is redeployed or a transformation changes, the lineage graph regenerates with it, instead of waiting for the next scheduled scan of destination tables.
No. The underlying requirement is the same: deterministic lineage derived from the code that touches the data, whether that code runs on a schedule or reacts to a stream of change events. A single source code based approach covers both, including the Java, Python, Scala, and SQL that typically connect batch and streaming systems together.
CDC pipelines move faster than the lineage tools most teams rely on today, and that gap only grows as more systems adopt real-time replication. Governing that gap requires lineage built from the code that actually moves the data, not a periodic snapshot of where it landed. See how Foundational traces every CDC connector, stream processor, and consumer in a live demo.
Request a demo to see deterministic lineage trace every CDC connector, consumer, and stream.
Request a demo to see deterministic lineage trace every CDC connector, consumer, and stream.
Request a demo to see deterministic lineage trace every CDC connector, consumer, and stream.