Duplicated User Event Messages
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
We are building a load-testing replay tool that pushes twice the normal volume from the 'user-events' topic. Emit each qualifying row exactly twice as identical copies showing the message ID, topic, partition key, payload, produced timestamp, and consumer, with the result ordered by message ID.
Summary
Duplicated messages from the alerts topic.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.