ps:Kafka下载地址: http://kafka.apache.org/downloads.html
- 将压缩包进行解压
- 进入解压后的目录,修改server.properties文件
- 修改内容
broker.id=0
listeners=PLAINTEXT://torm01:9092
log.dirs=/home/softwares/kafka_2.11-0.10.0.1/kafka-logs
zookeeper.connect= storm01:2181, storm02:2181, storm03:2181
-
-