Skip to content

Instantly share code, notes, and snippets.

Benchmark commands

#test-producer.conf
acks=1
bootstrap.servers=kafka.example.com:9092
buffer.memory=67108864
batch.size=128000

##Sample Command

@Deimosster
Deimosster / consumer.sh
Last active May 2, 2021 15:38 — forked from dongjinleekr/consumer.sh
Kafka benchmark commands
## Consumer Throughput: Single consumer thread, no compression
## Consumer Throughput: 3 consumer thread, no compression
bin/kafka-consumer-perf-test.sh --topic benchmark-3-3-none \
--zookeeper kafka-zk-1:2181,kafka-zk-2:2181,kafka-zk-3:2181 \
--messages 15000000 \
--threads 1