Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

Use this account type to connect Redshift Snaps with data sources.

Prerequisites

Access to the following folders:

  • Private project folder
  • Project Space’s shared folder
  • Global shared folder

Limitations

The default JDBC URL jdbc:postgre:://<hostname>:<port>/<db> does not work as it is not compatible with JDBC 2.x drivers. If you are using 2.x version of Amazon Redshift drivers, you must explicitly provide the JDBC URL as jdbc:redshift://<hostname>:<port>/<db> to configure the account successfully.

Known Issues

None.

Account Settings


FieldField TypeDescription

Label*

Default Value: N/A
Example: Redshift Account

String

Unique user-provided label for the account.

JDBC Driver Class


Default Value: org.postgresql.Driver
Example: 
org.postgresql.Driver


String

Name of the JBDC driver class to use.

JDBC jars


Default Value: N/A
Example
org.postgresql.Driver

JDBC jarsJDBC Url

String

The list of JDBC jar files to be loaded.

Info

You can upload the Redshift driver(s) that can override the default org.postgresql.Driver driver.

Set the Batch size property to 1 with the JDBC driver version RedshiftJDBC41-1.1.10.1010.jar.


JDBC Url


Default ValueN/A

org.postgresql.Driver

Examplejdbc:redshift://hostname:port/database

String

Enter the Url of the JDBC database.

Info

If you are using 2.x version of Amazon Redshift drivers, you must explicitly provide the JDBC URL as jdbc:redshift://<hostname>:<port>/<db> to configure the account successfully. The default JDBC URL, jdbc:postgre://<hostname>:<port>/<db> does not work as it is not compatible with JDBC 2.x drivers.

N/Ajdbc:redshift://hostname:port/database


Account properties*

Required. N

Enter in the information to create a connection to the database.

Endpoint*

String

Enter the server's address to connect to.


Default Value: N/A
Example
fieldcluster.c8dwbwr9.us-east-1.redshift.amazonaws.com

String

Enter the server's address to connect to.

Port

number

Number*


Default Value5439
Example
5439

Numeric


Enter the database server's port to connect.
5439
5439

Database name*


Default Value: N/A
Example
snaplogic

String

Enter the database name to connect.
NUsername

Username


Default Value: N/A

snaplogic

Exampleredshiftadmin

String

Enter the username to connect to the database. Username will be used as the default username when retrieving connections. The username must be valid in order to set up the data source.
NPassword

Password


Default Value: N/A

redshiftadminS3 Bucket

Examplep@$$20d*

String

Enter the password used to connect to the data source. Password will be used as the default password when retrieving connections. The password must be valid in order to set up the data source.

S3 Bucket


Default ValueN/A

p@$$20d*

Examplesl-bucket-ca

String

Enter the external S3 Bucket name residing in an external AWS account, to use for staging data onto Redshift.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps. 

N


S3 Folder


Default Value: N/A
Example
s3://sl-bucket-ca

S3 Folder

/san-francisco

String

Enter the relative path to a folder in S3 Bucket. This is used as a root folder for staging data onto Redshift.
NS3 Access-key ID

S3 Access-key ID


Default Value: N/A

s3://sl-bucket-ca/san-francisco

ExampleNAVRGGRV7EDCFVLKJH

String

Enter the S3 Access key ID part of AWS authentication.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps if the IAM role checkbox is not selected. 

NS3 Secret key


S3 Secret key


Default Value: N/A

NAVRGGRV7EDCFVLKJH

Example2RGiLmL/6bCujkKLaRuUJHY9uSDEjNYr+ozHRtg

String

Enter the S3 Secret key part of AWS Authentication.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps if the IAM role checkbox is not selected. 

NA2RGiLmL/6bCujkKLaRuUJHY9uSDEjNYr+ozHRtg


IAM properties
Specify the IAM properties information for Redshift to communicate with IAM.

AWS account ID


Default Value: N/A
Example
AWS-1

String

Enter the ID of the Amazon Web Services account to be used for performing bulk load operation.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps if the IAM role checkbox is selected. 

NIAM role name


IAM role name


Default Value: N/A

AWS-1

Example: rolex

String

Enter the name of the IAM role that has been assigned to the Redshift cluster to access the S3 bucket provided above.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps if the IAM role checkbox is selected. 

NRegion name


Region name


Default Value: N/A

rolex

Exampleus-east-1

String


Enter the name of the region the Redshift cluster.
N/Aus-east-1
Advanced propertiesSpecify advanced properties to support this account.

Auto commit


Default ValueSelected
Example
Deselected

Checkbox


Select this check box to enable the Snap to commit offsets automatically as messages are consumed and sent to the output view.

SelectedN/A

Batch size*


Default Value50
Example
50

Integer

Enter the number of statements to execute at a time.

Note
  • Set the Batch size property to 1 with the JDBC driver version RedshiftJDBC41-1.1.10.1010.jar, in the JDBC jars.
  • Select queries are not batched.
  • User-defined types won't be supported if a JDBC driver with a version other than 11.2.0.4.0 is set.
5050


Fetch size*


Default Value:100
Example
:100

Integer

Enter the number of rows to fetch at a time when executing a query.

Note

User-defined types won't be supported if a JDBC driver with a version other than 11.2.0.4.0 is set.

100

100


Max pool size*


Default Value50
Example
30

Integer

Enter the maximum number of connections a pool will maintain at a time.

Note

Redshift Bulk Load/Bulk Upsert/S3 Upsert Snap requires a minimum of 2 connections per Snap in a pipeline. For example, if a pipeline has a Redshift Bulk Load Snap and an S3 Upsert Snap, then the pool size must be greater than or equal to 4 for successful execution.

50

30


Max life time*


Default Value30
Example
10

Integer

Enter the maximum lifetime of a connection in the pool. Ensure that the value you enter is a few seconds shorter than any database or infrastructure-imposed connection time limit. A value of 0 indicates an infinite lifetime, subject to the Idle Timeout value. An in-use connection is never retired. Connections are removed only after they are closed.
30
10

Idle Timeout*


Default Value5
Example
6

Integer

Enter the maximum amount of time a connection is allowed to sit idle in the pool. A value of 0 indicates that idle connections are never removed from the pool.
5
6

Checkout timeout*


Default Value:1000
Example
800

IntegerEnter the number of milliseconds to wait for a connection to be available when the pool is exhausted. Zero waits forever. An exception will be thrown after the wait time has expired.
1000800
URL PropertiesSpecify the URL properties associated with this account.

URL property name


Default Value: N/A
Example
ssl

String


Enter the URL property name
NURL property value

URL property value


Default Value: N/A

ssl

Exampletrue

String


Enter the URL property value
N/Atrue


Insert excerpt
Redshift Snap Pack
Redshift Snap Pack
nopaneltrue

...