Skip to main content
Intermediatehow it works Verified ~8 min

A bug corrupted yesterday's output. How do you reprocess the old data?

Source: Apache Kafka documentation: introduction and design

Quick answerFree

Check the data is still within topic retention. Stop the consumers, reset the group's offsets with kafka-consumer-groups.sh --reset-offsets --to-datetime ... (dry-run, then --execute), or run the fixed job under a new group id from the earliest offset. The sink must be idempotent.

Detailed answer· ~270 words

Interview Prep

Unlock the full answer with Interview Prep

Get a ~270-word model answer, 5 key points, a visual explainer, 5 common mistakes and 5 follow-ups, plus 21 more Apache Kafka questions.

Also in Pro (₹499 / 90 days).

Key points· 5 points

Interview Prep
Unlock with Interview Prep

Visual explainer· animated, step by step

Interview Prep
Unlock with Interview Prep

Common mistakes· 5

Interview Prep
Locked

Best practices· 4

Interview Prep
Locked

Likely follow-ups· 5 questions

Interview Prep
Unlock with Interview Prep

+ 21 more Apache Kafka questions in Interview Prep, each with the full answer.

Discussion