For each topic, the Kafka cluster maintains a partitioned log that looks like this. Source:

#designImagine