DataDriven
LearnPracticeInterviewDiscussDailyJobs

Two boundaries on this canvas leak duplicates

A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.

Domain
Pipeline Design
Difficulty
medium

Problem

Two boundaries on this canvas leak duplicates. The application boundary has no atomicity (the order service writes to Postgres and publishes to Kafka in the same handler, the section's named most common production bug in event-driven systems). The downstream order_analytics destination is plain Postgres without a primary key, so Kafka redelivery double-counts. Pick the section's named building block per boundary; rolling a custom 2PC is forbidden.

Practice This Problem

Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • System Design Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons