Bird
0
0

You configured MirrorMaker 2 with:

medium📝 Debug Q14 of 15
Kafka - Multi-Datacenter and Replication
You configured MirrorMaker 2 with:
topics = "topic1,topic2"
num.streams = 0

What is the problem with this configuration?
Atopics must be a single topic, not multiple
Bnum.streams cannot be zero; it must be at least 1
Ctopics should be configured as a list, not a string
Dnum.streams must be an even number
Step-by-Step Solution
Solution:
  1. Step 1: Check num.streams value validity

    num.streams controls parallel streams and must be at least 1 to work properly.
  2. Step 2: Identify error in config

    Setting num.streams to 0 disables streams, causing MirrorMaker 2 to fail or not copy data.
  3. Final Answer:

    num.streams cannot be zero; it must be at least 1 -> Option B
  4. Quick Check:

    num.streams ≥ 1 required [OK]
Quick Trick: num.streams must be ≥ 1, zero disables copying [OK]
Common Mistakes:
MISTAKES
  • Thinking topics must be single only
  • Assuming num.streams can be zero
  • Believing num.streams must be even

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes