

You can also make a copy of the server.properties file anywhere in your computer and edit that file instead, and reference it in the Zookeeper start command shown above. Start Zookeeper using the update server.properties file as shown above If you have an M1 or M2 Mac, choose the Arm 64 installer. Select the macOS tab and download the DMG installer for your processor architecture. Follow the steps below to download and install it on Mac. You can also make a copy of the zoo.cfg file anywhere in your computer and edit that file instead, and reference it in the Zookeeper start command shown aboveĮdit the server.properties file at /usr/local/etc/kafka/server.properties and set the following to your heart's desire log.dirs=/your/path/to/data/kafka Oracle JDK is available for download on Oracle's website. Start Zookeeper using the update zoo.cfg file as shown above Kafka is now started, congratulations! Optional: Changing the Kafka and Zookeeper data storage directory when using HomebrewĮdit the zoo.cfg file at /usr/local/etc/zookeeper/zoo.cfg and set the following to your heart's desire dataDir=/your/path/to/data/zookeeper brew search openjdk to find all available Java-related formula. Ensure to keep both terminal windows opened, otherwise you will shut down Kafka or Zookeeper.
