flink-scala
May 16, 2026 ยท View on GitHub
This module is a replacement for the org.apache.flink:flink-scala lib shipped with flink distribution,
and allows using Flink with Scala 2.13.
For more refer to https://issues.apache.org/jira/browse/FLINK-13414.
Replacing flink-scala in flink distribution
rm $FLINK_HOME/lib/flink-scala*.jar
wget https://repo1.maven.org/maven2/pl/touk/flink-scala_2.13/2.0.1/flink-scala_2.13-2.0.1-assembly.jar -O $FLINK_HOME/lib/flink-scala_2.13-2.0.1-assembly.jar
Using as a lib (probably only sufficient when child-first classloading is enabled on flink)
libraryDependencies += "pl.touk" %% "flink-scala" % "2.0.1"
Pre-built Flink images
We provide pre-built Docker images for Flink with Scala 2.13 on Docker Hub.
Publishing
- Change version in version.sbt and this README file, commit changes
- Add version tag (
git tag v...) - Push changes to GitHub
- Manually run the Publish workflow in GitHub Actions
- Change version to a
-SNAPSHOTversion in version.sbt - Commit and push changes