Kafka Design And setup on MAC - DileepJexpert/devops-microservices Wiki

kafka consist of major 4 part

Zookeeper: Which is used by Kafka to maintain the state between the nodes of the cluster. Kafka brokers: The “pipes” in our pipeline store and emits data. Producers: That insert data into the cluster. Consumers: That read data from the cluster.

for more details how setup locally can get help from setup kafka on local