Scio offers a Scala-facing API for Apache Beam and Google Cloud Dataflow, shaped like Spark and Scalding. It unifies batch and streaming pipelines with GCP integrations.
Overview
Scio is a Scala library for writing distributed data pipelines on Apache Beam and Google Cloud Dataflow, with core APIs reminiscent of Spark and Scalding. Batch and streaming share one programming model, and managed Dataflow can run jobs without operating your own cluster.
Integrations cover Google Cloud Storage, BigQuery, Pub/Sub, Datastore, Bigtable, and related services. Type-safe BigQuery access, distributed cache, and an interactive Scio REPL are documented features. Optional artifacts add Avro, Parquet, JDBC, Elasticsearch, gRPC, TensorFlow records, and test helpers.
New projects can be scaffolded from a giter8 template and built with sbt. Documentation includes a getting-started path, comparisons to Scalding and Spark, example pipelines, and API reference. Beam newcomers are pointed to the Beam programming guide first.
Scio is used for large-scale data processing; Spotify-related writeups describe its role in analytics pipelines on Google Cloud.
Key features
- Spark-like Scala pipeline API
- Unified batch and streaming model
- BigQuery, Pub/Sub, GCS integrations
- Type-safe BigQuery access
- Interactive Scio REPL
- Modular IO and test artifacts
- giter8 job template and sbt builds
- Apache Beam runner compatibility
Use cases
- GCP batch and streaming ETL
- Scala data pipelines on Dataflow
- BigQuery-centric analytics jobs
- Migrating from Scalding-style jobs