Posts

Showing posts from May, 2019

Installing Apache Kafka and Zookeeper on Windows

Image
In this article, I’ll talk about how to Install, configure and start Apache Zookeeper and Apache Kafka Server on Windows OS. Prerequisite JRE running on your machine and path must set to Environment Variable Any Zip tool like 7-zip , WinZip or WinRAR. Download and Extract Apache Zookeeper using 7-zip. Download and Extract Apache Kafka using 7-zip ZooKeeper Installation Instructions: Go to the conf directory of your Zookeeper. For me its under D:\Softwares\apache-zookeeper-3.5.5 Copy and rename zoo_sample.cfg to zoo.cfg file. Open and Edit dataDIr=/tmp/zookeeper to dataDir=D:\Softwares\apache-zookeeper-3.5.5 Add entries in System Environment Variables ZOOKEEPER_HOME=D:\Softwares\apache-zookeeper-3.5.5 Append D:\Softwares\apache-zookeeper-3.5.5\bin to PATH system variable. Open command prompt and type zkserver to start the Zookeeper application. You can easily edit the default port ( 2181) in zoo.cfg file. Congratulations, ZooKeeper is up and...