There is this ProducerPerformance class coming with new java producer. You
can go to KAFKA_HOME/bin and use the following command:
./kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance
USAGE: java org.apache.kafka.clients.tools.ProducerPerformance topic_name
num_records record_si
Hi,
the rdkafka_performance tool from librdkafka's examples [1] lets you do
this with something like:
rdkafka_performance -P -b -t [-p ] -r
-s
Thats the producer side, if you want performance measurements on the
consumer side as well you do:
rdkafka_performance -C -b -t -p -o
There is an