Bird
0
0

Given this Kafka broker configuration snippet:

medium📝 Predict Output Q13 of 15
Kafka - Cluster Architecture
Given this Kafka broker configuration snippet:
log.dirs=/tmp/kafka-logs
num.network.threads=3
num.io.threads=8

What does num.network.threads=3 control?
ANumber of threads for message processing
BNumber of threads writing logs to disk
CNumber of threads for client connections
DNumber of threads handling network requests
Step-by-Step Solution
Solution:
  1. Step 1: Understand the meaning of num.network.threads

    This setting controls how many threads the broker uses to handle network requests from clients.
  2. Step 2: Match options with setting

    Number of threads handling network requests correctly states it controls threads handling network requests; others describe unrelated functions.
  3. Final Answer:

    Number of threads handling network requests -> Option D
  4. Quick Check:

    num.network.threads = network threads count [OK]
Quick Trick: network.threads means threads for network requests [OK]
Common Mistakes:
  • Confusing network threads with IO threads
  • Thinking it controls log writing threads
  • Mixing client connections with message processing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes