diff --git a/README.md b/README.md index 900d111..c53d6f2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Sample projects used to validate all the tools included in this repository. Currently connects to Jetstream (specifying zstd compression), logs ~100k events, then exits. -Run with `./gradlew sample:run`: +Run with `./run_sample.sh`: ``` > Task :sample:run [main] INFO SampleRunner - hello, bluesky diff --git a/run_sample.sh b/run_sample.sh new file mode 100755 index 0000000..9167bc2 --- /dev/null +++ b/run_sample.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -eou pipefail + +./gradlew build shadowJar + +java -jar sample/build/libs/sample-all.jar -Xms4096m -Xmx4096m \ No newline at end of file