brew cask install homebrew/cask-versions/adoptopenjdk8
brew install kafka
Reference: https://medium.com/@Ankitthakur/apache-kafka-installation-on-mac-using-homebrew-a367cdefd273
Note: You dont need to start or install zookeeper and kafka locally. Spin-up local dockers for kafka, zookeeper, kafka connect instead that are accessible locally. The landoop/fast-data-dev contains all the Kafka Components.
There are many ways to run kafka locally, I selected the Landoop approach.
Runs all via docker compose.
Includes Elastic Search, Postgres, and landoop/fast-data-dev (Kafka package).
Additional plugins and drivers are passed via mapped volumes
git clone git@github.com:devops-ph/kafka-local.git