1. Install Java JDK

Follow this tutorial to install Java JDK to your Mac.

2. Install Kafka

Download the latest Kafka from here

Extract the content of the downloaded binary file e.g. kafka_2.13-3.5.1.tgz to a directory e.g. your home folder ~/

3. Start Kafka

Open a terminal (Launchpad -> Terminal) and navigate to the installed Kafka directory e.g. ~/kafka_2.13-3.5.1

Run the following command to start Zookeeper:

./bin/zookeeper-server-start.sh ./config/zookeeper.properties

Run the following command to start Kafka:

./bin/kafka-server-start.sh ./config/server.properties