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
>>
>>

Reply via email to