Skip to main content

Amazon Redshift

This connector captures data from your Amazon Redshift cluster into Flow collections.

ghcr.io/estuary/source-redshift:dev provides the latest connector image. You can access past image versions by following the link in your browser.

Prerequisites

To use this connector, you'll need:

  • Access credentials for connecting to your Amazon Redshift cluster.
  • Properly configured IAM roles for the necessary permissions.

Configuration

You can configure the Redshift source connector either through the Flow web app or by directly editing the Flow specification file. For more information on using this connector, see our guide on connectors. The values and specification sample below provide configuration details that are specific to the Amazon Redshift source connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/hostHostHostname or IP address of your Redshift cluster.stringRequired
/portPortPort number for the cluster.integerDefault
/databaseDatabase NameName of the database to capture data from.stringRequired
/userUserDatabase user with necessary permissions.stringRequired
/passwordPasswordPassword for the specified database user.stringRequired
/schemasSchemasList of schemas to include.string
/jdbc_paramsJDBC URL ParamsAdditional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs.string

Bindings

PropertyTitleDescriptionTypeRequired/Default
/tableTable NameName of the table to capture.stringRequired
/cursor_fieldUser-defined CursorField for incremental syncs. Uses ascending values to ensure queries are sequential.string or integerRequired

Sample

captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-redshift:dev
config:
host: "example-redshift-cluster.us-east-2.redshift.amazonaws.com"
port: 5439
database: "sample_db"
user: "sample_user"
password: "sample_password"
schemas: "public"
jdbc_params: "key1=value1&key2=value2&key3=value3"
bindings:
- resource:
table: users
cursor_field: cursor
target: ${PREFIX}/users