An example Flink job to be used for verifying the Swim Flink Connector.
- Install JDK 11
- Ensure that your
JAVA_HOME
environment variable points to the Java installation. - Ensure that your
PATH
includes$JAVA_HOME
.
$ .\gradlew.bat run
$ ./gradlew run
This will start a Flink job that generates random user data and relays that to a Swim application
running on localhost:9001
.
$ .\gradlew.bat shadowJar
$ ./gradlew shadowJar
This will create a jar with all required dependencies at build/libs/example-job-4.0.1-all.jar
. This jar can be submitted as a job to
a Flink cluster.
- gradlew/gradlew.bat — gradle wrapper
- build.gradle — gradle file to build and run the application
- gradle.properties — application configuration variables