-
Notifications
You must be signed in to change notification settings - Fork 40
How to Run Performance Test Programs
bulldog2011 edited this page Apr 19, 2013
·
4 revisions
Test scripts(for both Windows and Linux) are in the bin
folder of Luxun distribution.
##Start Luxun Server Before testing, you need to start Luxun server first, for example:
bin/server conf/server.properties
you may change the sever setting in conf\server.properties
according to your real needs.
To run producer performance test program, just run the producer-perf-test
script, for example:
bin/producer-perf-test --brokerinfo 1:localhost:9092 --messages 2000000 --threads 10 --topic tc28 --message-size 4096
To run consumer performance test program, just run the consumer-perf-test
script, for example:
bin/consumer-perf-test --brokerinfo 1:localhost:9092 --threads 1 --topic tc15
Both of these test programs have additional options. Running the command with no arguments will display usage information documenting them in more detail.