【问题标题】:kafka performance test arguments meaningkafka性能测试参数含义
【发布时间】: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


    【解决方案1】:

    通过深入查看 Apache Kafka 页面,我找到了包含 Producer 参数含义的表。 它们可以在以下链接中找到:

    http://kafka.apache.org/documentation.html#producerconfigs

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-04-02
      • 1970-01-01
      • 2013-12-24
      • 2021-07-05
      • 1970-01-01
      • 2020-04-09
      • 2023-03-31
      • 2020-05-08
      相关资源
      最近更新 更多