A test Swim application to be used for verifying the Swim Kafka 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 the Swim Plane ("Running Swim Plane ..." message should be displayed on the console). The Swim Plane will listen on port 9001 for incoming requests. The port number and the other configurations for the Swim Plane is defined in the src/main/resource/server.recon file
$ .\gradlew.bat createDockerPackage
$ ./gradlew createDockerPackage
This will create a Docker package in the build/Docker folder.
- gradlew/gradlew.bat — gradle wrapper
- build.gradle — gradle file to build and run the application
- gradle.properties — application configuration variables
- src — application source code
- main/java — java source code for the application
- main/resources — application configuration files
- docker — support files for generating Docker images
- gradle — support files for the
gradlew
build script