Skip to content

Commit a25f844

Browse files
GH repo renamed + readme update
1 parent 7b15583 commit a25f844

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
1-
# flink-scala-2.13
1+
# flink-scala
22

3-
For now Flink does not support Scala 2.13. For more refer to <https://issues.apache.org/jira/browse/FLINK-13414>.
3+
This module is a replacement for the `org.apache.flink:flink-scala` lib shipped with flink distribution,
4+
and allows using flink with higher scala versions than 2.12.8.
45

5-
Our solution to deploy Scala 2.13 code to Flink, until it's officially supported (or Flink becomes really scala-free):
6+
For more refer to <https://issues.apache.org/jira/browse/FLINK-13414>.
67

8+
## Replacing flink-scala in flink distribution
79
```bash
810
rm $FLINK_HOME/lib/flink-scala*.jar
9-
wget https://repo1.maven.org/maven2/pl/touk/flink-scala-2-13_2.13/1.1.2/flink-scala-2-13_2.13-1.1.2-assembly.jar -O $FLINK_HOME/lib/flink-scala-2-13_2.13-1.1.1-assembly.jar
11+
12+
wget https://central.sonatype.com/repository/maven-snapshots/pl/touk/flink-scala_2.13/1.1.3-SNAPSHOT/flink-scala_2.13-1.1.3-SNAPSHOT-assembly.jar -O $FLINK_HOME/lib/flink-scala_2.13-1.1.3-SNAPSHOT-assembly.jar
1013
```
1114

15+
## Using as a lib (probably only sufficient when child-first classloading is enabled on flink)
1216
```scala
13-
libraryDependencies += "pl.touk" %% "flink-scala-2-13" % "1.1.2"
17+
libraryDependencies += "pl.touk" %% "flink-scala" % "1.1.3-SNAPSHOT"
1418
```
1519

20+
## Prebuild flink images
21+
* we provide prebuild flink docker images for scala 2.12 and 2.13 on [Docker Hub](https://hub.docker.com/r/touk/flink)
22+
1623
## Publishing
1724
```
1825
sbt publishSigned sonatypeBundleRelease

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ lazy val publishSettings = Seq(
4141
//we'll end up with two scm sections and invalid pom...
4242
pomExtra in Global := {
4343
<scm>
44-
<connection>scm:git:github.com/TouK/flink-scala-2.13.git</connection>
45-
<developerConnection>scm:git:git@github.com:TouK/flink-scala-2.13.git</developerConnection>
46-
<url>github.com/TouK/flink-scala-2.13</url>
44+
<connection>scm:git:github.com/TouK/flink-scala.git</connection>
45+
<developerConnection>scm:git:git@github.com:TouK/flink-scala.git</developerConnection>
46+
<url>github.com/TouK/flink-scala</url>
4747
</scm>
4848
<developers>
4949
<developer>
@@ -61,7 +61,7 @@ lazy val root = (project in file("."))
6161
name := "flink-scala",
6262
organization := "pl.touk",
6363
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
64-
homepage := Some(url("https://github.com/TouK/flink-scala-2.13")),
64+
homepage := Some(url("https://github.com/TouK/flink-scala")),
6565
libraryDependencies ++= (forScalaVersion(scalaVersion.value) {
6666
case (2, 12) =>
6767
Seq(

0 commit comments

Comments
 (0)