QuestionQ290

VerifiedData Transformation, Cleansing, and Quality

A new data engineer discovers that a critical field was omitted from an application writing its Kafka source into Delta Lake. This occurred even though the critical field existed in the Kafka source. The field was also absent from data written to dependent, long-term storage. The retention threshold on the Kafka service is seven days. The pipeline has been in production for three months.

Which option describes how Delta Lake can help prevent data loss of this kind in the future?

Explanation

Persisting the complete raw Kafka records and their metadata in a bronze Delta table creates a durable source-of-truth history beyond Kafka’s retention window. Downstream tables can be rebuilt or reprocessed from that raw history if a field is omitted by an ingestion or transformation step. Databricks recommends persisting raw source data in the bronze layer so downstream layers can be rebuilt as needed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!