Apache Beam 2.12.0 with Java 11 support?

人走茶凉 提交于 2020-01-25 07:37:09

问题


Does Apache Beam 2.12.0 support Java 11, or should i go still stick with a stable Java 8 SDK as for now?

I see the site recommends Python 3.5 with Beam 2.12.0 as per the documentation, compared to other higher Python versions. How much compartible it is with Java 11 at this time. So, would a stable version would be still Java 8 to go with Apache Beam 2.12.0. I faced few build issues when using Beam 2.12.0 with Java 11.


回答1:


Beam officially doesn't support Java 11, it has only experimental support starting from release 2.12. All artifacts are built with Java 8 but you can try to build and run your Java 11 code against them, though, there is no guarantee about that since work still in progress. One of the stoppers is that backends still don't not support Java 11. So, it's recommended to stick with Java 8 for production use cases for the moment.

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.



来源:https://stackoverflow.com/questions/57700058/apache-beam-2-12-0-with-java-11-support

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!