From f8ee3124f161083e5e1f5a7eb31829df294c0dc1 Mon Sep 17 00:00:00 2001 From: Parminder Singh Date: Mon, 26 Feb 2018 20:39:43 +0530 Subject: [PATCH] add macos kafka setup instructions --- INSTALL.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index f2345bc8f..ea6cf044c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -52,6 +52,21 @@ kafka/bin/zookeeper-server-start.sh -daemon kafka/config/zookeeper.properties kafka/bin/kafka-server-start.sh -daemon kafka/config/server.properties ``` +On MacOS, you can use [homebrew](https://brew.sh/) for easier setup of kafka + +```bash +brew install kafka +brew services start zookeeper +brew services start kafka +``` + +You can stop Kafka service by running + +```bash +brew services stop zookeeper +brew services stop kafka +``` + ## Configuration ### Postgres database setup