Re: generate specific throughput load

2015-02-25 Thread Jiangjie Qin
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

Re: generate specific throughput load

2015-02-25 Thread Magnus Edenhill
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

generate specific throughput load

2015-02-25 Thread Josh J
Hi, Is there a way to generate a specified amount of throughput? I'm using the Stats class here to measure the throughput. Though I need to