Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.64 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.64 KB

Test Swim Application

A test Swim application to be used for verifying the Swim Flink Connector.

Getting Started

Prerequisites

  • Install JDK 11
  • Ensure that your JAVA_HOME environment variable points to the Java installation.
  • Ensure that your PATH includes $JAVA_HOME.

Running the Application

On Windows

$ .\gradlew.bat run

On Linux or MacOS

$ ./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

Creating a Docker Package

On Windows

$ .\gradlew.bat createDockerPackage

On Linux or MacOS

$ ./gradlew createDockerPackage

This will create a Docker package in the build/Docker folder. Once built you can run the image with docker run -p 9001:9001 test-app.

Repository Structure

Key files

Key directories

  • src — application source code
  • docker — support files for generating Docker images
  • gradle — support files for the gradlew build script