BlockingDataflowPipelineRunner (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class BlockingDataflowPipelineRunner

  • public class BlockingDataflowPipelineRunner
    extends PipelineRunner<DataflowPipelineJob>
    A PipelineRunner that's like DataflowPipelineRunner but that waits for the launched job to finish.

    Prints out job status updates and console messages while it waits.

    Returns the final job state, or throws an exception if the job fails or cannot be monitored.


    When reading from a Dataflow source or writing to a Dataflow sink using BlockingDataflowPipelineRunner, the Google cloud services account and the Google compute engine service account of the GCP project running the Dataflow Job will need access to the corresponding source/sink.

    Please see Google Cloud Dataflow Security and Permissions for more details.