Kafka easy
In a Kafka cluster, what is the role of a 'Broker'?
- A A physical or virtual server instance that stores and serves part of the cluster's event data.
- B A client-side library used exclusively for data transformation.
- C A load balancer that only distributes network traffic without storing data.
- D The user interface used to create visualization dashboards.
Answer: A. A physical or virtual server instance that stores and serves part of the cluster's event data.
Brokers are the workhorses of Kafka. They handle all requests (produce, fetch, metadata), store the partition logs on disk, and replicate data between each other to ensure high availability.
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?
- 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?
- When a Producer sends a message with a specific 'Key', how does Kafka interpret this for shard distribution?