зеркало из https://github.com/microsoft/kafka.git
642da2f28c
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1152970 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
.. | ||
lib | ||
report-html | ||
src/main/java/kafka/perf | ||
util-bin | ||
.classpath | ||
.project | ||
README.md | ||
run-simulator.sh |
README.md
Profiling Kafka
See here: http://sna-projects.com/kafka/performance.php
Getting Started Locally
- Build Kafka itself, start servers etc.
- ./sbt project perf package-all
- Make sure report-html/data (or whichever dir you want to dump simulator data to) exists.
- ./run-simulator.sh
Getting Started With Remote Tests
- Look at util-bin/remote-kafka-env.sh and the constants there.
- Scripts assume that you have kafka built and installed on the remote hosts.
- Example:
./util-bin/run-fetchsize-test.sh user@host user@host 1 dir/report-html/fetch_size_test
. - Start a web-server or copy the results somewhere you can view with
a browser.You can view the results of a specific test run by setting
report.html?dataDir=my_test
.