QuestionQ239

VerifiedData Transformation, Cleansing, and Quality

A data engineer is designing a data pipeline in Databricks that must process records from a Kafka stream in which late-arriving data is common.

Which approach should the data engineer use?

Explanation

A watermark specifies the event-time delay allowed for late records in a Structured Streaming query. It supports correct windowed aggregations while bounding and cleaning up state after the configured lateness threshold, making it the appropriate mechanism for late-arriving Kafka data.

Learn more

Community Discussion

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