Bird
0
0

Which Kafka retention policy setting limits the total size of data retained per partition?

easy📝 Conceptual Q2 of 15
Kafka - Topics and Partitions
Which Kafka retention policy setting limits the total size of data retained per partition?
Aretention.ms
Bcleanup.policy
Csegment.bytes
Dretention.bytes
Step-by-Step Solution
Solution:
  1. Step 1: Identify size-based retention setting

    The retention.bytes setting limits the total size of data retained per partition.
  2. Step 2: Differentiate from other settings

    retention.ms controls time, segment.bytes controls segment file size, cleanup.policy controls deletion or compaction.
  3. Final Answer:

    retention.bytes -> Option D
  4. Quick Check:

    Size-based retention = retention.bytes [OK]
Quick Trick: Size-based retention uses retention.bytes [OK]
Common Mistakes:
  • Confusing retention.ms with size limit
  • Mixing segment.bytes with retention.bytes
  • Assuming cleanup.policy limits size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes