Bird
0
0

Which Kafka configuration parameter directly controls the maximum size of a single log segment file on disk?

easy📝 Conceptual Q2 of 15
Kafka - Performance Tuning
Which Kafka configuration parameter directly controls the maximum size of a single log segment file on disk?
Alog.retention.hours
Bnum.network.threads
Cmessage.max.bytes
Dlog.segment.bytes
Step-by-Step Solution
Solution:
  1. Step 1: Identify log segment size parameter

    The log.segment.bytes setting defines the maximum size of each log segment file on disk.
  2. Step 2: Differentiate from other parameters

    Other options control network threads, retention time, or max message size, not segment file size.
  3. Final Answer:

    log.segment.bytes -> Option D
  4. Quick Check:

    log.segment.bytes = max log segment file size [OK]
Quick Trick: log.segment.bytes sets max size per log file segment [OK]
Common Mistakes:
  • Confusing retention time with segment size
  • Mixing network threads with disk settings
  • Assuming message.max.bytes controls segment size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes