Google Cloud Storage

target-gcs (datateer variant)🥈

Google Cloud Storage loader

The target-gcs loader sends data into Google Cloud Storage after it was pulled from a source using an extractor

Getting Started

Prerequisites

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration

  1. Add the target-gcs loader to your project using
    meltano add
    :
  2. meltano add loader target-gcs
  3. Configure the target-gcs settings using
    meltano config
    :
  4. meltano config target-gcs set --interactive

Next steps

If you run into any issues, learn how to get help.

Capabilities

This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!

Settings

The target-gcs settings that are known to Meltano are documented below. To quickly find the setting you're looking for, click on any setting name from the list:

You can also list these settings using

meltano config
with the list subcommand:

meltano config target-gcs list

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 plugin.

(bucket_name)

  • Environment variable: TARGET_GCS_BUCKET_NAME

The name of the GCS Bucket to sync the stream to


Configure this setting directly using the following Meltano command:

meltano config target-gcs set bucket_name [value]

(credentials_file)

  • Environment variable: TARGET_GCS_CREDENTIALS_FILE
  • Default Value: $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


Configure this setting directly using the following Meltano command:

meltano config target-gcs set credentials_file [value]

(date_format)

  • Environment variable: TARGET_GCS_DATE_FORMAT
  • Default Value: %Y-%m-%d

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


Configure this setting directly using the following Meltano command:

meltano config target-gcs set date_format [value]

(key_prefix)

  • Environment variable: TARGET_GCS_KEY_PREFIX
  • Default Value: 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/...


Configure this setting directly using the following Meltano command:

meltano config target-gcs set key_prefix [value]

(key_naming_convention)

  • Environment variable: TARGET_GCS_KEY_NAMING_CONVENTION
  • Default Value: {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


Configure this setting directly using the following Meltano command:

meltano config target-gcs set key_naming_convention [value]

Something missing?

This page is generated from a YAML file that you can contribute changes to.

Edit it on GitHub!

Looking for help?

If you're having trouble getting the target-gcs loader 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.

Install

meltano add loader target-gcs

Maintenance Status

  • Maintenance Status

Repo

https://github.com/Datateer/target-gcs
  • Stars
  • Forks
  • Last Commit Date
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • Datateer

Meltano Stats

  • Total Executions (Last 3 Months)
  • Projects (Last 3 Months)

Keywords

  • googlecloudbucket