HomeInterview QuestionsStreaming, Exactly-once, Aws Glue, Kinesis, Cdc

Consider you are building a streaming job that consumes CDC records from Amazon Kinesis. How do you enforce exactly‑once processing and handle out‑of‑order records?

🔴 Hard System Design Senior level
1 Times asked
Aug 2026 Last seen
Aug 2026 First seen

💡 Model Answer

To achieve exactly‑once semantics in a Glue Streaming job that reads CDC records from Kinesis, you need to combine several AWS services and design patterns:

Complexity: The per‑record processing is O(1) for timestamp extraction and state lookup. The overall throughput is bounded by the Kinesis shard count and the write latency to the target. The design ensures that even with out‑of‑order arrivals, the final state reflects the latest CDC snapshot without duplicates.

Sign in to unlock the rest of this answer

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500