A cluster in Kafka contains multiple brokers as the system is distributed. The topic in the system is divided into multiple partitions. Each broker stores one or multiple partitions so that consumers and producers can retrieve and publish messages simultaneously.