Skip to main content
Version: Next

Cloud Storage

Cloud Storage is Google's object storage service. Tenzir can treat it like a local filesystem to read and write files.

URL Support

The URL scheme gs:// dispatches to load_gcs and save_gcs for seamless URL-style use via from and to.

Configuration

You need to configure appropriate credentials using Google's Application Default Credentials.

Examples

Write an event to a file in a bucket

from {foo: 42}
to "gs://bucket/path/to/file.json"

Read events from a file in a bucket

from "gs://bucket/path/to/file.json"
{foo: 42}