InterviewSolution
Saved Bookmarks
| 1. |
What is a Topic? How Kafka use the topic to communicate from the producer to consumer? |
|
Answer» Topic is a logical feed name to which RECORDS are published. Topics in KAFKA supports multi-subscriber model, so that topic can have zero, one, or many consumers that subscribe to the data written to it.
Every partition has an ordered and immutable sequence of records which is continuously appended to—a structured commit log. The Kafka cluster durably persists all published records—whether they have been consumed—using a configurable retention period. |
|