Ros*_*ndo 0 google-cloud-dataflow apache-beam
Apache Beam 2.12.0 是否支持 Java 11,还是我现在应该继续使用稳定的 Java 8 SDK?
我看到该站点根据文档推荐使用 Python 3.5 和 Beam 2.12.0,与其他更高的 Python 版本相比。这个时候它和 Java 11 有多少可比性。因此,与 Apache Beam 2.12.0 一起使用的稳定版本仍然是 Java 8。在 Java 11 中使用 Beam 2.12.0 时,我遇到的构建问题很少。
小智 5
更新:在2021 年 4 月 27日发布的 2.29.0版中引入了与 Java 11 的 Beam 兼容性。
原答案:
Beam 正式不支持 Java 11,它只有从 2.12 版开始的实验性支持。所有工件均使用 Java 8 构建,但您可以尝试针对它们构建和运行 Java 11 代码,不过,由于工作仍在进行中,因此无法保证这一点。阻碍之一是后端仍然不支持 Java 11。因此,目前建议在生产用例中坚持使用 Java 8。
For the reference, it was detailed discussion about that recently on dev@: Java 11 compatibility question, and there is a Jira issue where the progress is tracked: BEAM-2530. So, feel free to report the issues that you had with Java 11.
归档时间: |
|
查看次数: |
1724 次 |
最近记录: |