Bird
0
0

You set num.network.threads to 1 on a Kafka broker but notice slow message processing under load. What is the likely issue?

medium📝 Debug Q14 of 15
Kafka - Performance Tuning
You set num.network.threads to 1 on a Kafka broker but notice slow message processing under load. What is the likely issue?
AThe batch size is too large.
BToo many network threads cause CPU overload.
CToo few network threads limit concurrent connections.
DThe retention period is too short.
Step-by-Step Solution
Solution:
  1. Step 1: Understand num.network.threads role

    This setting controls how many threads handle network requests concurrently.
  2. Step 2: Analyze effect of setting it to 1

    With only 1 thread, Kafka cannot handle many connections well, causing slow processing under load.
  3. Final Answer:

    Too few network threads limit concurrent connections. -> Option C
  4. Quick Check:

    Low network threads cause slow processing = A [OK]
Quick Trick: Low network threads limit concurrency, causing slow processing [OK]
Common Mistakes:
  • Blaming batch size or retention instead of threads
  • Assuming more threads always cause overload
  • Ignoring network thread impact on load

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes