broker.id=3
listeners=PLAINTEXT://10.86.6.56:9092
advertised.listeners=PLAINTEXT://10.160.242.130:9092
num.network.threads=3
num.io.threads=8
socket.send.buffer.bytes=102400
socket.receive.buffer.bytes=102400
socket.request.max.bytes=104857600
log.dirs=/tmp/kafka-logs
num.partitions=3
num.recovery.threads.per.data.dir=1
offsets.topic.replication.factor=3
transaction.state.log.replication.factor=3
transaction.state.log.min.isr=3
min.insync.replicas=2
log.retention.hours=72
log.segment.bytes=1073741824
log.retention.check.interval.ms=300000
zookeeper.connect=zk-node1:2181,zk-node2:2181,zk-node3:2181
zookeeper.connection.timeout.ms=30000
group.initial.rebalance.delay.ms=0
auto.leader.rebalance.enable=true
delete.topic.enable=true
来源:oschina
链接:https://my.oschina.net/u/4689706/blog/4949143