Here we will go through some of the Apache Kafka theory concepts and terms. If you are new to Apache Kafka, Please read Apache Kafka introduction and Installation on windows post before you read this article. This is extremely important to understand Apache Kafka topics, partitions, brokers and offsets before we start actual CLI usage / application coding.
Topic in Kafka is heart of everything. It is stream of data / location of data in Kafka. We can create many topics in Apache Kafka, and it is identified by unique name.
Topics are split into partitions, each partition is ordered and messages with in a partitions gets an id called Offset and it is incremental unique id.