Bird
0
0

Which Kafka configuration property controls the retention time after topic deletion is requested?

easy📝 Conceptual Q2 of 15
Kafka - Topics and Partitions
Which Kafka configuration property controls the retention time after topic deletion is requested?
Alog.retention.ms
Btopic.delete.delay.ms
Cdelete.retention.ms
Dlog.cleanup.policy
Step-by-Step Solution
Solution:
  1. Step 1: Identify retention properties related to deletion

    Kafka uses delete.retention.ms to specify how long deleted topics' data is retained before cleanup.
  2. Step 2: Differentiate from other retention configs

    log.retention.ms controls log retention generally, log.cleanup.policy controls cleanup type, and topic.delete.delay.ms is not a valid config.
  3. Final Answer:

    delete.retention.ms -> Option C
  4. Quick Check:

    delete.retention.ms controls post-deletion data retention [OK]
Quick Trick: Use delete.retention.ms to set cleanup delay after deletion [OK]
Common Mistakes:
  • Confusing log.retention.ms with deletion retention
  • Assuming log.cleanup.policy controls deletion delay
  • Using non-existent config names

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes