Google Cloud Dataflow provides a simple, powerful programming model for building both batch and streaming parallel data processing pipelines.
The key concepts in this programming model are:
- PCollection: represents a collection of data, which could be bounded or unbounded in size.
- PTransform: represents a computation that transform input PCollections into output PCollections.
- Pipeline: manages a directed acyclic graph of PTransforms and PCollections, which is ready for excution.
- PipelineRunner: specifies where and how the pipeline should execute.
Currently there are three runners:
- The DirectPipelineRunner runs the pipeline on your local machine.
- The DataflowPipelineRunner submits the pipeline to the Dataflow Service*****, where it runs using managed resources in the Google Cloud Platform.
- The BlockingDataflowPipelineRunner submits the pipeline to the Dataflow Service***** via the DataflowPipelineRunner and then prints messages about the job status until execution is complete.
*The Dataflow Service is currently in the Alpha phase of development and access is limited to whitelisted users.