Bird
0
0

What is the primary function of a Kafka broker in the message broker architecture?

easy📝 Conceptual Q1 of 15
Kafka - Basics and Event Streaming
What is the primary function of a Kafka broker in the message broker architecture?
ATo consume messages from topics
BTo generate messages for producers
CTo store and forward messages between producers and consumers
DTo delete topics automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand Kafka broker role

    A Kafka broker acts as a server that stores messages and forwards them to consumers.
  2. Step 2: Differentiate from other components

    Producers generate messages, consumers read them, but brokers handle storage and delivery.
  3. Final Answer:

    To store and forward messages between producers and consumers -> Option C
  4. Quick Check:

    Kafka broker function = store and forward messages [OK]
Quick Trick: Broker stores and forwards messages, not produces or consumes [OK]
Common Mistakes:
  • Confusing broker with producer or consumer
  • Thinking broker generates messages
  • Assuming broker deletes topics automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes