且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将Java依赖项添加到Google Dataflow项目?

更新时间:2023-12-03 14:03:04

您无需执行任何特殊操作:只需将这些jar添加到您的类路径中,Dataflow就会自动将其提供给您的工作人员.这与Dataflow用来使工作人员本身可以使用管道的代码的机制相同.

You don't need to do anything special: simply add those jars to your classpath and Dataflow will automatically make them available to your workers. This is the same mechanism Dataflow uses to make your pipeline's code per se available to the workers.

有关更多详细信息,请参见filesToStage选项. rel ="nofollow">指定执行参数.并且,如果此选项没有达到您的期望或正在寻找其他东西,请告诉我们.

For more details, please see the filesToStage option in Specifying Execution Parameters. And please let us know if this option is not doing what you expect or if you're looking for something else.