Dataflow JAVA SDK : Take the code as an input, process at the backed

寵の児 提交于 2019-12-12 02:53:57

问题


Please support me to understand the implementation of following scenario.

Suppose the user types the code written using data flow SDK commands in a text box at the front end. We need to get that code (let's say as a string) and execute at the back end. Does Data flow SDK provide a facility like a execution manager, to do such a thing? Also some resources to get familiar with such an implementation would be much appreciated.

Thanks


回答1:


Dataflow does not support the kind of dynamic evaluation of user code described in your question. In order to run a Dataflow job using the Java SDK, user code is compiled at the client, packaged into a .jar file, and distributed to the worker machines.



来源:https://stackoverflow.com/questions/35796798/dataflow-java-sdk-take-the-code-as-an-input-process-at-the-backed

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