+1 to release flink-connector-parent 2.0 and drop JDK8 support.

Best,
Leonard

> 2025 12月 15 21:44,Ferenc Csaky <[email protected]> 写道:
> 
> Hello devs,
> 
> I'd like to start a discussion about releasing flink-connector-parent 2.0, 
> which
> would drop JDK8 support. With core Flink dropping JDK8 support starting with
> 2.0, I think it makes sense to follow this up on the connector front.
> 
> Currently, the default java version is set to JDK8 here [1]. Technically it is
> still possible to override that behavior using the dedicated Maven profile, 
> e.g.
> "java11-target", but that is not too intuitive and can lead to mistakes, cause
> IDEs (IntelliJ) might generate Maven configs to override the target level,
> leading to unnecessary or faulty Maven compiler configs.
> 
> I believe providing a version that has a more recent JDK as default would be
> easier on the connector code if they would like to utilize some JDK8+ 
> features.
> 
> In case a connector still requires JDK8, the 1.1.0 parent version does not go
> anywhere.
> 
> I am happy to make the change and driving the release.
> 
> WDYT?
> 
> Best,
> Ferenc
> 
> [1] 
> https://github.com/apache/flink-connector-shared-utils/blob/d719c95235db17f5932d1bb5d917f7d6e195c371/pom.xml#L63

Reply via email to