Skip to content

Instantly share code, notes, and snippets.

@sunilsoni
Created December 7, 2019 13:38
Show Gist options
  • Save sunilsoni/3886f9e5f0f39497d6637c385d9dffca to your computer and use it in GitHub Desktop.
Save sunilsoni/3886f9e5f0f39497d6637c385d9dffca to your computer and use it in GitHub Desktop.
# this will install java 1.8, zookeeper, and kafka
brew install kafka
# this will run ZK and kafka as services
brew services start zookeeper
brew services start kafka
That's it. If you want to stop Kafka, just run the brew services commands in reverse:
brew services stop kafka
brew services stop zookeeper
brew start zookeeper
brew start kafka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment