简体   繁体   中英

Datastream generator for Apache Kafka

I'm searching for a simple event- / datastream generator for the Kafka-broker to run some performance tests on the streaming tools of the Hadoop framework. Found nothing suitable so far. It should be able to send a lot of (mostly equal) messages in a very short periot of time (milliseconds).

Thanks!

You can use kafka-producer-perf-test.sh tool that is shipped with Kafka 0.9+. It allows you to produce a number of messages of a given size. This tool is just a producer that allows you send a batch of messages and collect statistics.

In our performance tests we use this tool (or our own performance producer but that is similar to this) and when we want to increase the load we run several instances in parallel into different hosts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM