🔥 3-day streak
Professional Data Engineer146 / 169
Question 146 of 169
A retail company operates multiple microservices that each publish order events to a shared Pub/Sub topic consumed by a Dataflow streaming pipeline. Recently, one service began publishing malformed JSON with missing required fields, causing repeated deserialization failures downstream. The data engineering team wants to prevent structurally invalid messages from ever entering the topic, rejecting them at publish time before they reach any subscriber. What is the most effective way to enforce this?
Reviewed for accuracy · Report an issueNext question