Bird
0
0

Which of the following is the correct way to specify the source cluster's bootstrap servers in Kafka MirrorMaker configuration?

easy📝 Syntax Q12 of 15
Kafka - Multi-Datacenter and Replication

Which of the following is the correct way to specify the source cluster's bootstrap servers in Kafka MirrorMaker configuration?

consumer.bootstrap.servers = ?
A"source.kafka.cluster:9092"
B"target.kafka.cluster:9092"
C"localhost:2181"
D"mirror.kafka.cluster:2181"
Step-by-Step Solution
Solution:
  1. Step 1: Identify the role of consumer.bootstrap.servers

    This property tells MirrorMaker where to read data from, so it must point to the source Kafka cluster.
  2. Step 2: Choose the correct server address for the source cluster

    The source cluster's Kafka broker address is usually in the form host:port, like "source.kafka.cluster:9092".
  3. Final Answer:

    "source.kafka.cluster:9092" -> Option A
  4. Quick Check:

    consumer.bootstrap.servers = source cluster address [OK]
Quick Trick: Consumer connects to source cluster bootstrap servers [OK]
Common Mistakes:
  • Using target cluster address for consumer.bootstrap.servers
  • Using ZooKeeper address instead of Kafka broker
  • Confusing consumer and producer properties

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes