Kafka easy
In the context of the Kafka ecosystem, what is a 'Topic'?
- A A transient error log that is deleted after the first read.
- B A logical category or stream name to which records are published, typically representing a particular type of event.
- C A hardware-level network interface between two specific brokers.
- D The memory buffer used only for storing consumer group metadata.
Answer: B. A logical category or stream name to which records are published, typically representing a particular type of event.
A Topic is the core abstraction for data organization. It acts as a logical namespace where producers append events and consumers read them. Internally, a topic is divided into partitions for scalability.
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?