Skip to content

Latest commit

 

History

History

test-app

Test Swim Application

A test Swim application to be used for verifying the Swim Kafka Connector

Getting Started

Prerequisites

JDK versions

  • 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.

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