public class FlinkJobInvoker extends java.lang.Object implements JobInvoker
FlinkRunner
.Modifier and Type | Method and Description |
---|---|
static FlinkJobInvoker |
create(ListeningExecutorService executorService,
FlinkJobServerDriver.ServerConfiguration serverConfig) |
JobInvocation |
invoke(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline,
org.apache.beam.vendor.grpc.v1_13_1.com.google.protobuf.Struct options,
java.lang.String retrievalToken)
Start running a job, abstracting its state as a
JobInvocation instance. |
public static FlinkJobInvoker create(ListeningExecutorService executorService, FlinkJobServerDriver.ServerConfiguration serverConfig)
public JobInvocation invoke(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.vendor.grpc.v1_13_1.com.google.protobuf.Struct options, @Nullable java.lang.String retrievalToken) throws java.io.IOException
JobInvoker
JobInvocation
instance.invoke
in interface JobInvoker
java.io.IOException