The target-gcs Singer target sends data into Google Cloud Storage after it was pulled from a source using a Singer tap.

Standalone usage #

Install the package using pip:

pip install git+https://github.com/Datateer/target-gcs.git

For additional instructions, refer to the README in the repository.

Usage with Meltano #

Meltano helps you manage your configuration, incremental replication, and scheduled pipelines.

View the Meltano-specific target-gcs instructions to learn more.

Capabilities #

These capabilities can also be overriden by specifying the capabilities key in your meltano.yml file.

Settings #

target-gcs requires the configuration of the following settings:

The settings for target target-gcs that are known to Meltano are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.

You can override these settings or specify additional ones in your meltano.yml by adding the settings key. Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this target.

bucket_name #

The name of the GCS Bucket to sync the stream to

credentials_file #

  • Default: $MELTANO_PROJECT_ROOT/client_secrets.json

The fully resolved path to the credentials json file. By default we will look in the meltano project directory root for a file called client_secrets.json

date_format #

  • Default: %Y-%m-%d

The date formate for the export date used in the bucket key path

key_prefix #

  • Default: meltano/${MELTANO_EXTRACT__LOAD_SCHEMA}/

This is the base key prefix which lets you define where the stream will write to in the bucket. By default, we use meltano/${MELTANO_EXTRACT__LOAD_SCHEMA}/ which is derived from the tap. For example tap-jira would end up in meltano/tap_jira/…

key_naming_convention #

  • Default: {stream}/export_date={date}/{timestamp}.jsonl

This is the naming convention for the key. Available values in the format string are stream (stream name), date, timestamp. By default this naming convention uses hive style partitioning

Looking for help? #

If you're having trouble getting the target-gcs target to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!