Bird
0
0

Which of the following is the correct way to specify a broker's unique ID in the Kafka server.properties file?

easy📝 Syntax Q12 of 15
Kafka - Cluster Architecture

Which of the following is the correct way to specify a broker's unique ID in the Kafka server.properties file?

Abroker.id=1
BbrokerID=1
Cbroker-id=1
DbrokerId=1
Step-by-Step Solution
Solution:
  1. Step 1: Recall Kafka broker ID syntax

    The correct property name is broker.id with a dot separator.
  2. Step 2: Check options for exact match

    Only broker.id=1 matches Kafka's expected syntax.
  3. Final Answer:

    broker.id=1 -> Option A
  4. Quick Check:

    Broker ID property uses dot notation [OK]
Quick Trick: Broker ID uses dot notation: broker.id [OK]
Common Mistakes:
  • Using camelCase or hyphens instead of dot
  • Misspelling the property name
  • Confusing broker.id with other properties

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes