![]() 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. sudo apachectl start This command will start Apache server. To start Apache web server run the following command. httpd -v macOS Mojave comes with Apache/2.4.34. To check the version of Apache installed run the following command in the Terminal. Start Zookeeper using the update server.properties file as shown above Open Terminal using macOS Spotlight or go to /Applications/Utilities and open Terminal. 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 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 Ensure to keep both terminal windows opened, otherwise you will shut down Kafka or Zookeeper.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |