This collection provides pre-built Apache Beam templates for batch and streaming data jobs on Google Cloud Dataflow without writing full pipeline code first.
Overview
Google Cloud Dataflow Template Pipelines are open-source Apache Beam SDK templates aimed at common in-cloud data tasks such as import, export, backup, restore, and bulk connector operations without standing up a full development environment first. Google Cloud Dataflow runs the jobs; the template source and customization starting points are supplied here.
Templates are grouped into continuous streaming pipelines and bulk batch pipelines, plus utility jobs like bulk compress or decompress in Cloud Storage, format conversion, and a streaming data generator. Examples span Pub/Sub, Kafka, BigQuery, Cloud Spanner, Bigtable, JDBC, Elasticsearch, MongoDB, and many other Google Cloud and third-party endpoints.
User-defined JavaScript functions let you tweak template behavior—renaming fields, filtering records, or transforming payloads—without maintaining the entire pipeline codebase. Container images for the templates are published for use with the managed Dataflow service.
Google provides the templates as reference implementations developers can extend. Official documentation lists parameters and usage for each pipeline.
Key features
- Streaming and batch template catalog
- Apache Beam SDK pipelines
- Pub/Sub, Kafka, and JDBC connectors
- BigQuery and Spanner integration
- JavaScript UDF customization
- Published container images
- Cloud Storage utility jobs
Use cases
- Managed ETL on Google Cloud Dataflow
- CDC streams into BigQuery
- Bulk database migrations to GCP
- Quick streaming prototype jobs