本文主要是介绍0.8.2kafka集群配置,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
hadoop,spark,kafka交流群:224209501
1,kafka配置
kafka官网的配置参数基本已经满足大家的需求了。
# Replication configurations
num.replica.fetchers=4
replica.fetch.max.bytes=1048576
replica.fetch.wait.max.ms=500
replica.high.watermark.checkpoint.interval.ms=5000
replica.socket.timeout.ms=30000
replica.socket.receive.buffer.bytes=65536
replica.lag.time.max.ms=10000
replica.lag.max.messages=4000controller.socket.timeout.ms=30000
controller.message.queue.size=10# Log configuration
num.partitions=8
message.max.bytes=1000000
auto.create.topics.enable=true
log.index.interval.bytes=4096
log.index.size.max.bytes=10485760
log.retention.hours=168
log.flush.interval.ms=10000
log.
这篇关于0.8.2kafka集群配置的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!