Bird
0
0

Why might setting linger.ms too high negatively impact Kafka producer performance?

hard📝 Conceptual Q10 of 15
Kafka - Producers
Why might setting linger.ms too high negatively impact Kafka producer performance?
AIt causes batch sizes to be too small
BIt disables message compression
CIt reduces the maximum batch size allowed
DIt increases message latency by delaying batch sends
Step-by-Step Solution
Solution:
  1. Step 1: Understand linger.ms effect on latency

    High linger.ms means producer waits longer before sending batches, increasing message delay.
  2. Step 2: Exclude other options

    linger.ms does not affect batch size limits or compression settings.
  3. Final Answer:

    It increases message latency by delaying batch sends -> Option D
  4. Quick Check:

    High linger.ms increases latency [OK]
Quick Trick: High linger.ms delays sending, increasing latency [OK]
Common Mistakes:
  • Thinking linger.ms reduces batch size
  • Confusing linger.ms with compression settings
  • Assuming linger.ms limits batch size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes