I would expect *flink-connector-kafka:3.0.1-1.18* pointing to *org.apache.flink:flink-connector-base:1.18.0* not to *1.17.0*
However, SBT compiles my project ok using such versioning: val flinkVersion = "1.18.0" val flinkVersion17 = "1.17.1" val flinkDependencies = Seq( "org.flinkextended" %% "flink-scala-api" % s"${flinkVersion17}_1.1.0", // will support soon 1.18 too "org.apache.flink" % "flink-connector-base" % flinkVersion % Provided, "org.apache.flink" % "flink-connector-kafka" % "3.0.1-1.18" % Provided, "org.apache.flink" % "flink-connector-files" % flinkVersion % Provided ) Best regards, Alexey On Tue, Nov 14, 2023 at 1:45 PM Alexis Sarda-Espinosa < sarda.espin...@gmail.com> wrote: > Isn't it expected that it points to 1.17? That version of the Kafka > connector is meant to be compatible with both Flink 1.17 and 1.18, right? > So the older version should be specified so that the consumer can decide > which Flink version to compile against, otherwise the build tool could > silently update the compile-only dependencies, no? > > Regards, > Alexis. > > Am Di., 14. Nov. 2023 um 11:54 Uhr schrieb Alexey Novakov via user < > user@flink.apache.org>: > >> Hi Günterh, >> >> It looks like a problem with the Kafka connector release. >> https://mvnrepository.com/artifact/org.apache.flink/flink-connector-kafka/3.0.1-1.18 >> Compile dependencies are still pointing to Flink 1.17. >> >> Release person is already contacted about this or will be contacted soon. >> >> Best regards, >> Alexey >> >> On Mon, Nov 13, 2023 at 10:42 PM guenterh.lists < >> guenterh.li...@bluewin.ch> wrote: >> >>> Hello >>> >>> I'm getting a dependency error when using the latest Kafka connector in >>> a Scala project. >>> >>> Using the 1.17.1 Kafka connector compilation is ok. >>> >>> With >>> >>> "org.apache.flink" % "flink-connector-kafka" % "3.0.1-1.18" >>> >>> I get >>> [error] (update) sbt.librarymanagement.ResolveException: Error >>> downloading org.apache.flink:flink-connector-base: >>> [error] Not found >>> [error] Not found >>> [error] not found: >>> >>> /home/swissbib/.ivy2/local/org.apache.flink/flink-connector-base/ivys/ivy.xml >>> [error] not found: >>> >>> https://repo1.maven.org/maven2/org/apache/flink/flink-connector-base//flink-connector-base-.pom >>> >>> Seems Maven packaging is not correct. >>> >>> My sbt build file: >>> >>> ThisBuild / scalaVersion := "3.3.0" >>> val flinkVersion = "1.18.0" >>> val postgresVersion = "42.2.2" >>> >>> lazy val root = (project in file(".")).settings( >>> name := "flink-scala-proj", >>> libraryDependencies ++= Seq( >>> "org.flinkextended" %% "flink-scala-api" % "1.17.1_1.1.0", >>> "org.apache.flink" % "flink-clients" % flinkVersion % Provided, >>> "org.apache.flink" % "flink-connector-files" % flinkVersion % >>> Provided, >>> >>> "org.apache.flink" % "flink-connector-kafka" % "1.17.1", >>> //"org.apache.flink" % "flink-connector-kafka" % "3.0.1-1.18", >>> >>> //"org.apache.flink" % "flink-connector-jdbc" % "3.1.1-1.17", >>> //"org.postgresql" % "postgresql" % postgresVersion, >>> "org.apache.flink" % "flink-connector-files" % flinkVersion % >>> Provided, >>> //"org.apache.flink" % "flink-connector-base" % flinkVersion % >>> Provided >>> ) >>> ) >>> >>> >>> >>> Thanks! >>> >>> -- >>> Günter Hipler >>> https://openbiblio.social/@vog61 >>> https://twitter.com/vog61 >>> >>>