Hi Martijn,

Thanks for writing this up. A standing rule makes sense to me. Two questions:

1. Connectors. Connector releases often ship for two Flink minors at
once, for example the Kafka connector 5.1.0 is out as 5.1.0-2.2 and
5.1.0-2.3, both Java 11 bytecode. For the first release that covers
2.5, "follow the same versions for each Flink minor" reads like it
also ships a -2.4 artifact targeting 11, so the connector code stays
on 11 until it drops 2.4. "Users on Flink 2.4 and older keep using the
existing connector versions" reads like it drops 2.4, which would mean
2.4 users only get connector fixes from an older connector branch
while 2.4 still gets bugfix releases. Which one is intended?

2. Recommended version. The Java compatibility page calls 17 the
recommended version, and the plain Docker tags (2.3, latest) use the
java17 image. With 17 deprecated in 2.5, which version should be the
recommended one and the default image? One line in the policy would
settle it for every release.

Best regards,
Sepuri Sai Krishna

On Tue, Nov 24, 2026 at 5:03 PM Martijn Visser via dev
<[email protected]> wrote:
>
> Hi everyone,
>
> I would like to start a discussion on FLIP-623: Java support policy [1].
>
> Flink has no rule for which Java versions it supports, so every change so far 
> was a separate discussion. This FLIP proposes a standing policy: Flink 
> supports two stable LTS versions, a new LTS is added as experimental and 
> becomes stable in the next minor release, and the oldest LTS is dropped in 
> that same release.
>
> For Flink 2.5 that means Java 17 and 21 are stable, Java 25 is experimental 
> and Java 11 is removed. Users who need Java 11 can stay on Flink 2.4 or 1.20.
>
> This follows up on the earlier thread [2] and a poll in the Flink Slack, 
> where 24 of 25 people run Java 17 or newer.
>
> Looking forward to your feedback.
>
> Best regards,
>
> Martijn
>
> [1] 
> https://cwiki.apache.org/confluence/spaces/FLINK/pages/467435998/FLIP-623+Java+support+policy
> [2] https://lists.apache.org/thread/wb3mzkvz194wdpbqfrv4vqzprocxdmmf

Reply via email to