'What is the Java version that the Flink can support in 2022?

Let's say if I start a new Flink Java project, and if I look for "stable Flink Java production experience", which version should I need to use? The official docs says that it can support Java-11 starting from Flink 1.10 but a lot of users are still using Java-8, so trying to understand whether I need to use AdoptOpenJDK-8 or AdoptOpenJDK-11.



Solution 1:[1]

Both Java 8 and Java 11 are supported (though Java 8 has been deprecated).

Working toward support for Java 17 is happening under FLINK-15736.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1