-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Jackhammer | ||
Generates and pushes random event data into Kafka to be used for load testing the performance of Druid's [Kafka indexing service](http://druid.io/docs/0.9.2/development/extensions-core/kafka-ingestion.html). | ||
|
||
## Build | ||
``` | ||
mvn package | ||
``` | ||
|
||
## Extract | ||
``` | ||
tar xzf target/jackhammer-1.0-SNAPSHOT-bin.tar.gz | ||
``` | ||
|
||
## Run | ||
``` | ||
jackhammer-1.0-SNAPSHOT/jackhammer --help | ||
``` | ||
|
||
## Notes | ||
* Make sure you have sufficient event generators / Kafka brokers / bandwidth so that your results actually reflect the performance of the Kafka indexing tasks. | ||
* It may be beneficial to run the event generators first to pre-load Kafka with data before starting up the Kafka supervisor and running the load test. | ||
* The supervisor status endpoint `GET /druid/indexer/v1/supervisor/<supervisorId>/status` is useful for determining ingestion rate by comparing the currentOffset values vs. time. |