Windows kafka_2.11-1.1.0安装
#broker.id=1 #broker.list=192.168.2.200:9092,192.168.2.233:9092,192.168.2.122:9092 listeners=PLAINTEXT://127.0.0.1:9092 advertised.listeners=PLAINTEXT://127.0.0.1:9092 host.name=127.0.0.1 advertised.host.name=127.0.0.1 socket.send.buffer.bytes=10240 socket.receive.buffer.bytes=10240 socket.request.max.bytes=666666 log.dirs=F:\\es\\kafka\\logs data.dirs=F:\\es\\kafka\\data num.partitions=3 num.recovery.threads.per.data.dir=1 num.network.threads=3 num.io.threads=8 offsets.topic.replication.factor=1 transaction.state.log.replication.factor=1 transaction.state.log.min.isr=1 log.retention.hours=168 log.segment.bytes=666666 log.retention.check.interval.ms=300000 #zookeeper.connect=192.168.2.200:2181,192.168.2.233:2181,192.168.2.122:2181 zookeeper.connect=127.0.0.1:2181 zookeeper.connection.timeout.ms=6000 group.initial.rebalance.delay.ms=0 delete.topic.enable=true
进入bin目录启动命令
.\windows\kafka-server-start.bat ..\.\config\server.properties