Skip to content

Commit

Permalink
Add sample running script (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
lopcode authored Nov 16, 2024
1 parent bd5ed38 commit 20460df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions run_sample.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -eou pipefail

./gradlew build shadowJar

java -jar sample/build/libs/sample-all.jar -Xms4096m -Xmx4096m

0 comments on commit 20460df

Please sign in to comment.