Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 500 Bytes

kafka.md

File metadata and controls

20 lines (15 loc) · 500 Bytes

Benchmarking

Producers

./kafka-producer-perf-test.sh --topic test1 --producer-props bootstrap.servers=localhost:9092 --throughput 1 --print-metrics --num-records 1000 --record-size 1024

Consumers

./kafka-consumer-perf-test.sh --print-metrics --threads 1 --group group-1 --topic test1 --broker-list localhost:9092 --timeout 1000000 --messages 1000

https://gist.github.com/jkreps/c7ddb4041ef62a900e6c

Useful helpers

ZooKeeper liveness

echo ruok | nc localhost 2181