Package org.apache.beam.runners.flink
Class FlinkPipelineRunner
java.lang.Object
org.apache.beam.runners.flink.FlinkPipelineRunner
- All Implemented Interfaces:
PortablePipelineRunner
Runs a Pipeline on Flink via
FlinkRunner
.-
Constructor Summary
ConstructorsConstructorDescriptionFlinkPipelineRunner
(FlinkPipelineOptions pipelineOptions, @Nullable String confDir, List<String> filesToStage) Setup a flink pipeline runner. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Main method to be called only as the entry point to an executable jar with structure as defined inPortablePipelineJarUtils
.
-
Constructor Details
-
FlinkPipelineRunner
public FlinkPipelineRunner(FlinkPipelineOptions pipelineOptions, @Nullable String confDir, List<String> filesToStage) Setup a flink pipeline runner.- Parameters:
pipelineOptions
- pipeline options configuring the flink pipeline runner.confDir
- flink configuration directory. Note that pipeline option's flinkConfDir, If not null, takes precedence against this parameter.filesToStage
- a list of file names to stage.
-
-
Method Details
-
run
public PortablePipelineResult run(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, JobInfo jobInfo) throws Exception - Specified by:
run
in interfacePortablePipelineRunner
- Throws:
Exception
-
main
Main method to be called only as the entry point to an executable jar with structure as defined inPortablePipelineJarUtils
.- Throws:
Exception
-