An application to execute Flink SQL jobs.
- Java Development Kit (JDK) 17
- Apache Maven 3.8.x or higher
- Kubernetes cluster
Note: Refer to the instructions docs/installation.adoc
to install the Flink Kubernetes Operator.
- Build application
mvn package
- Build an image
minikube image build . -t flink-sql-runner:latest
- Create a
FlinkDeployment
custom resource that references the image you just built (flink-sql-runner:latest
). - Apply the
FlinkDeployment
to theflink
namespace. This namespace has the RBAC setup (via helm) to run Flink Job. If you want to run in another namespace then apply theinstall/flink-namespace-rbac.yaml
to the chosen namespace.
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.
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.
Follow the Releasing guide.