🔥 3-day streak
Professional Data Engineer143 / 169
Question 143 of 169
A retail company ingests order events into Pub/Sub, where an upstream publisher occasionally retries publishes, causing duplicate messages with the same application-level order_id but different Pub/Sub message IDs. A Dataflow streaming pipeline aggregates order totals in 10-minute fixed windows and writes to BigQuery. The team observes inflated revenue totals due to duplicate orders. They cannot change the publisher. Which approach most reliably eliminates the duplicates based on order_id within the pipeline?
Reviewed for accuracy · Report an issueNext question