Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active December 28, 2022 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/bda41640407698f73b9bdf4180a29ac3 to your computer and use it in GitHub Desktop.
Save garystafford/bda41640407698f73b9bdf4180a29ac3 to your computer and use it in GitHub Desktop.
# set java version (v17 is latest compatible version with kstreams)
JAVA_HOME=~/Library/Java/JavaVirtualMachines/corretto-17.0.5/Contents/Home
$JAVA_HOME/bin/java -version
# compile to uber jar
./gradlew clean shadowJar
# run the streaming application
$JAVA_HOME/bin/java -jar build/libs/kstreams-kafka-demo-1.0.0-all.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment