Kafka 101

Learn about the fundamentals of Apache Kafka. This tutorial covers basic concepts of Kafka and its components.

What are topics?

A topic is a collection of messages that you want to group together for processing by a consumer. For instance, a retail website might create a topic for clicks on links, another topic for orders placed, etc. Each topic is persisted to disk, replicated across brokers for fault-tolerance, and messages in the topic are stored for a specific duration. Each topic consists of one or more partitions (Figure 2).

Messages from producers are sent to a topic. Topics are typically replicated across one or more brokers.
Figure 2: Messages from producers are sent to a topic. Topics are typically replicated across one or more brokers.
Previous resource
Overview: Kafka 101
Next resource
What are partitions?