Thanks for the input Krishna and Purushottam, let me answer them: On the connectors, there is no policy at all that defines that one connector version must support multiple versions of Flink, it's only stated that the connector should support the Flink versions that are supported by the project (so last 2 minor versions) [1]. There's nothing with having a Kafka version 5.1 that supports Flink 2.4, and having a Kafka version 5.2/6.0 that supports Flink 2.5. One thing to add is that I am working on a new FLIP that should make life easier when it comes to connector compatibility, but that's coming later.
On the recommended version, we'd recommend the latest stable LTS version. So it would be Java 21 when Java 25 support is added (because Java 11 would be removed, Java 17 marked as deprecated). When Java 25 support would be stable, that version would become the recommended version. I'll add that to the FLIP On not supporting the latest non-LTS, is that it adds an extra burden for the maintainers and costs extra CI capacity. Best regards, Martijn [1] https://cwiki.apache.org/confluence/spaces/FLINK/pages/231116690/Externalized+Connector+development#ExternalizedConnectordevelopment-Flinkcompatibility Op wo 25 nov 2026 om 10:18 schreef Purushottam Sinha < [email protected]>: > Hi > A good idea, considering the number of pipelines we run across the > different connectors, which this would considerably reduce. > > A few pointers to add. > 1. I checked a few points, and they look fine. With this setup we would > remove Java 17 around the time its support ends: > https://endoflife.date/eclipse-temurin > 2. Also as part of the Java 11 cleanup, we may want to track tickets for > migrating the connectors where applicable. > 3. Can you add a reasoning behind dropping “the latest non-LTS” idea that > kafka runs as per the FLIP. > > > On Wed, Nov 25, 2026 at 7:52 AM Krishna Sai <[email protected]> wrote: > > > 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 > > > > > -- > Best Regards, > Purushottam Sinha > शुभकामनाएं > पुरूषोत्तम सिन्हा >
