Compare commits

...

2 Commits

Author SHA1 Message Date
Christian Williams d82b42f8c4
Merge pull request #5 from scribd/issue-4/fix-example-script
Fix example script to have correct jar path
2021-01-04 12:47:24 -05:00
Christian 891c630471 Fix example script to have correct jar path
Resolves #4
2021-01-04 12:36:55 -05:00
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
target
.idea
example.json
example.json
*.jks

View File

@ -2,15 +2,16 @@
#
# Runs the `kafka-player` application against a local Kafka.
# Run `sbt assembly` from the root of the project before running this script.
#
set -eu
scriptpath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
jar_file=$scriptpath/../target/scala-2.12/kafka-player.jar
jar_file=$scriptpath/../target/scala-2.12/kafka-player-0.1.0.jar
message_file=$scriptpath/example.json
num_messages=10000
num_messages=10
messages_per_second=0.5
topic=example
broker_string=localhost:9092