

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 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 It lets us construct containers that will run in Kubernetes Pods. Start Zookeeper using the update zoo.cfg file as shown above Docker is used to create, manage, and run our containers. create VM with Rosetta 2 emulation (for MacOS Ventura) colima start -arch aarch64 -vm-typevz -vz-rosetta. colima stop colima start -cpu 4 -memory 8. modify an existing VM to 4CPUs and 8GiB memory. 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 If you want you can install composer also as independent service in container. create VM with 1CPU, 2GiB memory and 10GiB storage. Git is available on many different operating systems, including most modern Linux distributions and macOS. Ensure to keep both terminal windows opened, otherwise you will shut down Kafka or Zookeeper. To install Homebrew, you must first install Git.
