zookeeper version:
zookeeper-3.6.2
주소:
https://kafka.apache.org/downloads
wget <https://archive.apache.org/dist/kafka/2.8.1/kafka_2.13-2.8.1.tgz>
tar -zxvf kafka_2.11-2.1.0.tgz $ cd kafka_2.11-2.1.0
# mv to /usr/local
$ vi config/zookeeper.properties
#zookeeper.properties
# the directory where the snapshot is stored.
dataDir=/tmp/zookeeper
# the port at which the clients will connect
clientPort=2181
# disable the per-ip limit on the number of connections since this is a non-production config
maxClientCnxns=0
initLimit=5
syncLimit=2
server.1=192.168.137.101:2888:3888
server.2=192.168.137.102:2888:3888
server.3=192.168.137.103:2888:3888
initLimit
팔로워가 리더와 초기에 연결하는 시간에 대한 타임아웃
syncLimit