From e39db885444d8fce5f24a8c0a4b3e633e4cc8b5a Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:10:26 +0200 Subject: [PATCH] Update kafka-clients to 3.8.0 (#1725) * Update kafka-clients to 3.8.0 * chore: Update mainClass in build.sbt * chore: Move and update scala-steward configuration file * chore: Update fs2-kafka dependency to version 1.11.0 --------- Co-authored-by: Bekir Oguz --- .github/scala-steward.conf | 9 --------- .scala-steward.conf | 19 +++++++++++++++++++ build.sbt | 2 +- project/Dependencies.scala | 4 ++-- 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 .github/scala-steward.conf create mode 100644 .scala-steward.conf diff --git a/.github/scala-steward.conf b/.github/scala-steward.conf deleted file mode 100644 index 6371fae7d..000000000 --- a/.github/scala-steward.conf +++ /dev/null @@ -1,9 +0,0 @@ -# PRs are created only again after 7 days since the last PR has passed -pullRequests.frequency = "7 days" -# group all patches, and typelevel updates -pullRequests.grouping = [ - { name = "patches", "title" = "Patch updates", "filter" = [{"version" = "patch"}] }, - { name = "typelevel", "title" = "Typelevel updates", "filter" = [{"group" = "org.typelevel"}, {"group" = "org.http4s"}, {"group" = "co.fs2"}] }, -] -# ignore updates which depend on cats-effect 3.x -updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" version = "3." }, { groupId = "co.fs2", version = "3." }, { groupId = "org.http4s", version = "0.23." }, { groupId = "org.http4s", version = "1." } ] \ No newline at end of file diff --git a/.scala-steward.conf b/.scala-steward.conf new file mode 100644 index 000000000..17d778bca --- /dev/null +++ b/.scala-steward.conf @@ -0,0 +1,19 @@ +# PRs are created only again after 7 days since the last PR has passed +pullRequests.frequency = "7 days" +# group all patches, and typelevel updates +pullRequests.grouping = [ + { name = "patches", "title" = "Patch updates", "filter" = [{"version" = "patch"}] }, + { name = "typelevel", "title" = "Typelevel updates", "filter" = [{"group" = "org.typelevel"}, {"group" = "org.http4s"}, {"group" = "co.fs2"}] }, +] +# pin updates to cats-effect 2.x compatible versions +updates.pin = [ + { groupId = "org.typelevel", artifactId = "cats-effect" version = "2." }, + { groupId = "co.fs2", version = "2." }, + { groupId = "com.github.fd4s", artifactId = "fs2-kafka", version = "1."} +] + +# ignore updates for cats-effect 3.x compatible versions +updates.pin = [ + { groupId = "org.http4s", version = "0.23." }, + { groupId = "org.http4s", version = "1." } +] \ No newline at end of file diff --git a/build.sbt b/build.sbt index 499aa7d73..09c7b3fd4 100644 --- a/build.sbt +++ b/build.sbt @@ -544,7 +544,7 @@ lazy val `bakery-state`: Project = project.in(file("bakery/state")) .settings(Publish.settings) .settings(yPartialUnificationSetting) .settings( - Compile / mainClass := Some("com.ing.bakery.baker.Main"), + Compile / mainClass := Some("com.ing.bakery.Main"), dockerExposedPorts ++= Seq(8080), Docker / packageName := "bakery-state", dockerBaseImage := "adoptopenjdk/openjdk11", diff --git a/project/Dependencies.scala b/project/Dependencies.scala index cdcac64e7..48159069a 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -59,10 +59,10 @@ object Dependencies { val akkaClusterBoostrap = "com.lightbend.akka.management" %% "akka-management-cluster-bootstrap" % akkaManagementVersion val akkaDiscoveryKube = "com.lightbend.akka.discovery" %% "akka-discovery-kubernetes-api" % akkaManagementVersion - val kafkaClient = "org.apache.kafka" % "kafka-clients" % "3.4.1" + val kafkaClient = "org.apache.kafka" % "kafka-clients" % "3.8.0" val fs2Core = "co.fs2" %% "fs2-core" % fs2Version val fs2Io = "co.fs2" %% "fs2-io" % fs2Version - val fs2kafka = "com.github.fd4s" %% "fs2-kafka" % "1.0.0" + val fs2kafka = "com.github.fd4s" %% "fs2-kafka" % "1.11.0" val levelDB = "org.iq80.leveldb" % "leveldb" % "0.12" val levelDBJni = "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"