kafka2.7集群安装流程
程序员文章站
2022-06-14 10:35:54
...
1.下载安装包:
kafka_2.13-2.7.0.tgz
https://www.apache.org/dyn/closer.cgi?path=/kafka/2.7.0/kafka_2.13-2.7.0.tgz
2.上传安装包:
3.解压:
tar -zxvf kafka_2.13-2.7.0.tgz
4.配置zookeeper
[[email protected] kafka]# mkdir zookeeper
[[email protected] kafka]# cd /usr/local/kafka/config
[[email protected] config]# vi zookeeper.properties
dataDir=/usr/local/kafka/zookeeper
dataLogDir=/usr/local/kafka/log/zookeeper
clientPort=2181
maxClientCnxns=100
tickTime=3000
initLimit=10
syncLimit=5
server.1=192.168.1.128:2888:3888
server.2=192.168.1.129:2888:3888
server.3=192.168.1.130:2888:3888
[[email protected]