Bird
0
0

Which Kafka producer configuration setting directly controls the maximum number of bytes sent in one batch?

easy📝 Conceptual Q2 of 15
Kafka - Performance Tuning
Which Kafka producer configuration setting directly controls the maximum number of bytes sent in one batch?
Alinger.ms
Backs
Ccompression.type
Dbatch.size
Step-by-Step Solution
Solution:
  1. Step 1: Identify batch size setting

    The batch.size setting controls the maximum size in bytes of a batch sent by the producer.
  2. Step 2: Differentiate from other settings

    linger.ms controls delay, compression.type controls compression, and acks controls acknowledgment behavior.
  3. Final Answer:

    batch.size -> Option D
  4. Quick Check:

    batch.size = max batch bytes [OK]
Quick Trick: batch.size sets max batch bytes sent [OK]
Common Mistakes:
  • Mixing batch.size with linger.ms
  • Confusing compression.type with batch size
  • Thinking acks controls batch size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes