【发布时间】:2016-04-16 05:25:43
【问题描述】:
我需要使用 kafka 进行一些性能测试。
我正在使用此处解释的指南: https://engineering.linkedin.com/kafka/benchmarking-apache-kafka-2-million-writes-second-three-cheap-machines
它使用如下命令: bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=localhost:9092 buffer.memory=67108864 batch.size=8196
我不明白:
主题名称:test7
num_records: 50000000
记录大小:100
server_address: bootstrap.servers=localhost:9092 buffer.memory=67108864
但我不明白:
-1
acks=1
buffer.memory=67108864
batch.size=8196
有人清楚他们的意思吗?或者你知道这个工具的任何文档吗?
谢谢
【问题讨论】:
标签: performance-testing apache-kafka kafka-producer-api