...

/

Kafka Topic as a Log

Kafka Topic as a Log

Learn how messages are stored in a Kafka topic.

We have already encountered the term topic, albeit not formally. We know that a topic is a channel with a name to which we can produce messages and from which we can consume messages. But how is data actually stored in a topic? Before we answer this question, let’s talk about logs.

Logs

Think about a log file produced by an application—each line:

  • Has a line ...