Bird
Raised Fist0

Which Kafka component primarily manages transactions to support Exactly-once semantics?

easy🧠 Conceptual Q2 of Q15
Kafka - Message Delivery Semantics
Which Kafka component primarily manages transactions to support Exactly-once semantics?
AKafka Zookeeper
BKafka Broker
CKafka Consumer
DKafka Producer
Step-by-Step Solution
Solution:
  1. Step 1: Identify the role of Kafka Producer in EOS

    The producer manages transactions by grouping messages to commit or abort atomically.
  2. Step 2: Understand other components' roles

    Brokers store data, consumers read data, Zookeeper manages cluster metadata but do not manage transactions.
  3. Final Answer:

    Kafka Producer -> Option D
  4. Quick Check:

    Transaction management = Producer [OK]
Quick Trick: Producer controls transactions for EOS in Kafka [OK]
Common Mistakes:
MISTAKES
  • Thinking brokers handle transactions
  • Confusing consumer role with transaction management
  • Assuming Zookeeper manages transactions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes