Skip to content

Commit

Permalink
Merge 5f24dd2 into 07a3939
Browse files Browse the repository at this point in the history
  • Loading branch information
nextdude-mdsol committed Dec 3, 2021
2 parents 07a3939 + 5f24dd2 commit aeaf098
Show file tree
Hide file tree
Showing 59 changed files with 2,433 additions and 1,423 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

## Maven Dependency

`Flinkrunner 3` is [available on maven central](https://mvnrepository.com/artifact/io.epiphanous/flinkrunner_2.12),
`Flinkrunner 4` is [available on maven central](https://mvnrepository.com/artifact/io.epiphanous/flinkrunner_2.12),
built against Flink 1.13 with Scala 2.12 and JDK 11.

```sbtshell
Expand Down
78 changes: 42 additions & 36 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,64 +24,70 @@ inThisBuild(
Test / parallelExecution := false
Test / fork := true
resolvers += "Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository"
resolvers += "Confluent Repository" at "https://packages.confluent.io/maven/"

val V = new {
val flink = "1.13.2"
val logback = "1.2.6"
val flink = "1.14.0"
val logback = "1.2.7"
val scalaLogging = "3.9.4"
val scalaTest = "3.2.10"
val scalaCheck = "1.15.4"
val circe = "0.14.1"
val http4s = "0.21.29"
val enumeratum = "1.7.0"
val typesafeConfig = "1.4.1"
val guava = "29.0-jre"
val guava = "31.0.1-jre" //"29.0-jre"
val squants = "1.8.3"
val avro = "1.10.2"
val avro = "1.11.0"
val avro4s = "4.0.11"
val schemaRegistry = "7.0.0"
}

val flinkDeps =
Seq("scala", "streaming-scala", "cep-scala").map(a =>
"org.apache.flink" %% s"flink-$a" % V.flink % Provided
) ++
Seq(
"connector-kafka",
"connector-kinesis",
"connector-cassandra",
"connector-elasticsearch7",
"statebackend-rocksdb"
).map(a => "org.apache.flink" %% s"flink-$a" % V.flink) ++
Seq("org.apache.flink" %% "flink-test-utils" % V.flink % Test)
val flinkDeps =
Seq(
"org.apache.flink" %% s"flink-scala" % V.flink % Provided,
"org.apache.flink" %% s"flink-streaming-scala" % V.flink % Provided,
"org.apache.flink" %% s"flink-cep-scala" % V.flink % Provided,
"org.apache.flink" %% s"flink-connector-kafka" % V.flink,
"org.apache.flink" %% s"flink-connector-kinesis" % V.flink,
"org.apache.flink" %% s"flink-connector-cassandra" % V.flink,
"org.apache.flink" %% s"flink-connector-elasticsearch7" % V.flink,
"org.apache.flink" %% s"flink-statebackend-rocksdb" % V.flink,
"org.apache.flink" % s"flink-avro-confluent-registry" % V.flink,
"org.apache.flink" %% s"flink-test-utils" % V.flink % Test
)

val loggingDeps = Seq(
"ch.qos.logback" % "logback-classic" % V.logback % Provided,
"com.typesafe.scala-logging" %% "scala-logging" % V.scalaLogging
)

val http4sDeps =
Seq("http4s-dsl", "http4s-client", "http4s-blaze-client", "http4s-circe")
.map("org.http4s" %% _ % V.http4s)
val http4sDeps = Seq(
"dsl",
"client",
"blaze-client",
"circe"
).map(d => "org.http4s" %% s"http4s-$d" % V.http4s)

val circeDeps = Seq(
"circe-core",
"circe-generic",
"circe-generic-extras",
"circe-parser"
).map(
"io.circe" %% _ % V.circe
)
"core",
"generic",
"generic-extras",
"parser"
).map(d => "io.circe" %% s"circe-$d" % V.circe)

val otherDeps = Seq(
"com.beachape" %% "enumeratum" % V.enumeratum,
"org.apache.avro" % "avro" % V.avro,
"com.typesafe" % "config" % V.typesafeConfig,
"com.google.guava" % "guava" % V.guava,
"org.typelevel" %% "squants" % V.squants,
"com.sksamuel.avro4s" %% "avro4s-core" % V.avro4s,
"org.scalactic" %% "scalactic" % V.scalaTest % Test,
"org.scalatest" %% "scalatest" % V.scalaTest % Test,
"org.scalacheck" %% "scalacheck" % V.scalaCheck % Test
val otherDeps = Seq(
// "io.confluent" % "kafka-schema-registry-client" % V.schemaRegistry,
"io.confluent" % "kafka-streams-avro-serde" % "7.0.0",
"com.beachape" %% "enumeratum" % V.enumeratum,
// "org.apache.avro" % "avro" % V.avro,
"com.typesafe" % "config" % V.typesafeConfig,
"com.google.guava" % "guava" % V.guava,
"org.typelevel" %% "squants" % V.squants,
"com.sksamuel.avro4s" %% "avro4s-core" % V.avro4s,
"org.scalactic" %% "scalactic" % V.scalaTest % Test,
"org.scalatest" %% "scalatest" % V.scalaTest % Test,
"org.scalacheck" %% "scalacheck" % V.scalaCheck % Test
)

/**
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.4.9
sbt.version=1.5.5
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.2")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")
3 changes: 2 additions & 1 deletion src/main/resources/flink-runner.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ state {
backend = rocksdb
}
max.lateness = 5m
jobs = {}
watermark.strategy = "bounded lateness"
jobs = {}
Loading

0 comments on commit aeaf098

Please sign in to comment.