🔥 3-day streak
Professional Data Engineer97 / 169
Question 97 of 169

A retail company runs a streaming Dataflow pipeline that reads clickstream events from Pub/Sub, parses each JSON message, and writes structured rows to BigQuery. Occasionally, upstream systems emit malformed JSON or messages with schema violations. Currently, a single bad message causes the pipeline to throw an unhandled exception, stalling processing and creating a backlog. The data engineering team must ensure the pipeline keeps processing valid events while preserving the invalid ones for later investigation, without losing any data. What is the best design?

Reviewed for accuracy · Report an issueNext question