BlockingDataflowPipelineRunner (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.runners

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.

    Permissions

    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.


Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Dataflow