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).