kafka集群server端,config/server.properties基本配置

三世轮回 提交于 2021-02-07 13:52:51

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!