Created
December 7, 2019 13:38
-
-
Save sunilsoni/3886f9e5f0f39497d6637c385d9dffca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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