broker.id=2
listeners=PLAINTEXT://192.168.49.222:9092 #每个节点的host不同,默认是注释的
log.dirs=/opt/module/kafka/datas #自定义路径
zookeeper.connect=192.168.49.220:2181,192.168.49.221:2181,192.168.49.222:2181/kafka #/kafka将kafka的信息统一保存到zookeeper的kafka node下
broker.id=2
listeners=PLAINTEXT://192.168.49.222:9092 #每个节点的host不同,默认是注释的
log.dirs=/opt/module/kafka/datas #自定义路径
zookeeper.connect=192.168.49.220:2181,192.168.49.221:2181,192.168.49.222:2181/kafka #/kafka将kafka的信息统一保存到zookeeper的kafka node下