After downlinking and extracting the ZooKeeper package.
Create configuration file zoo.cfg in conf directory.
conf\zoo.cfg .
The content of the zoo keeper configuration file should be:
tickTime=2000
dataDir=C:\products\apache\zookeeper-3.4.6\Data
clientPort=2181
Start the zookeeper in a cmd window :
bin\zkServer.sh start
Start the client in other
bin\zkCli.sh -server 127.0.0.1:2181
Creating simple node:
אין תגובות:
הוסף רשומת תגובה