Kafka-环境搭建
wenking 7/11/2023 kafka
vim server.properties
#----------------------------------修改zookeeper配置文件--------------------------------------------------
broker.id=0
listeners=PLAINTEXT://192.168.1.128:9092
log.dirs=/root/data/kafka-logs
zookeeper.connect=192.168.1.128:2181,192.168.1.129:2181,192.168.1.130:2181
#--------------------------------------------------------------------------------------------------------
# 启动服务
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10