Skip to content

streamshub/flink-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9f6ae61 · Feb 24, 2025
Oct 10, 2024
Nov 19, 2024
Jan 29, 2025
Nov 15, 2024
Feb 24, 2025
Nov 21, 2024
Jan 29, 2025
Oct 28, 2024
Jan 29, 2025
Oct 29, 2024
Nov 21, 2024
Jul 10, 2024
Jan 29, 2025
Nov 19, 2024
Sep 5, 2024
Feb 24, 2025

Repository files navigation

Flink SQL Runner

An application to execute Flink SQL jobs.

Prerequisites

  • Java Development Kit (JDK) 17
  • Apache Maven 3.8.x or higher
  • Kubernetes cluster

Building and running Flink SQL Runner

Note: Refer to the instructions docs/installation.adoc to install the Flink Kubernetes Operator.

  1. Build application
    mvn package
    
  2. Build an image
    minikube image build . -t flink-sql-runner:latest
    
  3. Create a FlinkDeployment custom resource that references the image you just built (flink-sql-runner:latest).
  4. Apply the FlinkDeployment to the flink namespace. This namespace has the RBAC setup (via helm) to run Flink Job. If you want to run in another namespace then apply the install/flink-namespace-rbac.yaml to the chosen namespace.

Building the documentation

The documentation is written in asciidoc and follow a single large page format. These docs are pulled into the main StreamsHub website and hosted there.

To build a local copy of the docs, you will need asciidoctor installed.

asciidoctor docs/index.adoc

This builds docs/index.html containing the documentation.

Developing

We welcome your contributions to the Flink SQL project! To ensure a smooth collaboration:

  • Pull Requests: Open a PR with your proposed changes.
  • Build Success: Make sure the build passes without errors.
  • Code Quality: Your code must pass SonarCloud code analysis checks.
  • Unit Tests: Update existing unit tests for any modifications and write new tests for new features.
  • System Tests: Repository developers can trigger Packit CI for running system tests.

Releasing

Follow the Releasing guide.