Mac Install Homebrew Catalina
if you do not have brew installed on your mac, Install homebrew on your mac by running the following command on your Terminal.
Install kafka in MacOS Catalina
How to install Homebrew on Mac What you need. Before you install Homebrew on Mac, you’ll need to make sure you have the following: A 64-bit Intel CPU or an Apple Silicon CPU (i.e., an M1 Mac) You can check if you have a compatible Mac by pressing cmd + spacebar, typing “About This Mac”, pressing return, and then checking the Processor. Install HomeBrew; Just copy and paste the line below in a terminal, and press enter. QGIS cannot be opened on Mac OS Catalina (QGIS is not notarized) Then you need to right-click on open.
First install openjdk 8 using brew cask and then install kakfa.
When the installation completes, It will show you something like below
Start zookeeper & kafka as a service
Stop zookeeper & kafka service
If you do not want to run kafka & zookeeper as a service use below commands
If you face any error in starting kafka, you will have configure listeners in /usr/local/etc/kafka/server.properties config file,
uncomment and change the values like below
Check if kafka is functioning properly
Create test topic
How To Install Homebrew On Catalina
Start kafka consumer console
Install Homebrew Mac Catalina
Start kafka producer console
Mac Install Homebrew Catalina 2019
Once the producer starts enter any message and press enter.