flink-scala

Maven Central Version Docker Image Version

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/1.1.6/flink-scala_2.13-1.1.6-assembly.jar -O $FLINK_HOME/lib/flink-scala_2.13-1.1.6-assembly.jar

Using as a lib (probably only sufficient when child-first classloading is enabled on flink)

libraryDependencies += "pl.touk" %% "flink-scala" % "1.1.6"

Pre-built Flink images

We provide pre-built Docker images for Flink with Scala 2.13 on Docker Hub.

Publishing

  1. Change version in build.sbt, commit changes
  2. Add version tag (git tag v...)
  3. Push changes to GitHub
  4. Manually run the Publish workflow in GitHub Actions
  5. Change version to a -SNAPSHOT version in build.sbt
  6. Commit and push changes