What is a Kafka topic?
What are the properties of a Kafka topic?
Kafka topics are append-only logs, and their contents are immutable. In this way, topics are similar to application logfiles. Because the events never change once written, Kafka topics are very easy to replicate, which allows them to be durably and reliably stored across many nodes in the Kafka cluster.
How are events formatted within a Kafka topic?
Events are written to a Kafka topic as key-value pairs. The key and value can be any binary data you like, but in most cases the key is null or an ID—some string or integer—and the value is typically a serialized object.