Hi, Gurnterh It seems a bug for me that 3.0.1-1.18 flink Kafka connector use flink 1.17 dependency which lead to your issue.
I guess we need propose a new release for Kafka connector for fix this issue. CC: Gordan, Danny, Martijn Best, Leonard > 2023年11月14日 下午6:53,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 > > <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 > <mailto: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 > > <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://openbiblio.social/@vog61> > https://twitter.com/vog61 <https://twitter.com/vog61> >