Kafka easy
Which software component is responsible for publishing events to one or more Kafka Topics?
- A The Consumer Group Coordinator.
- B The Producer API.
- C The Linux Kernel's Page Cache.
- D The ZooKeeper Ensemble.
Answer: B. The Producer API.
Producers are client applications. They choose which topic to write to, and which partition (usually by hashing a key). They can send messages asynchronously or wait for acknowledgments from the broker.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- When implementing 'Exactly-Once Semantics' (EOS) in a Kafka stream, what is the role of the `isolation.level=read_committed` setting on the Consumer?
- Historically, which external service was required by Kafka to manage cluster hierarchy, metadata, and leader election status?
- Once a message is successfully appended to a Kafka partition log, what is its mutability status?
- In a Kafka cluster, what is the role of a 'Broker'?
- What is the primary indicator of a bottleneck in a Kafka consumer's processing logic?
- What is the primary architectural role of Apache Kafka in a distributed system?