Fix example script to have correct jar path

Resolves #4
This commit is contained in:
Christian 2021-01-04 12:36:30 -05:00
parent f878788ef7
commit 891c630471
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