Redshift

JDBC Redshift sink Connector

Key featuresarrow-up-right

Use Xa transactions to ensure exactly-once. So only support exactly-once for the database which is support Xa transactions. You can set is_exactly_once=true to enable it.

Write data through jdbc. Support Batch mode and Streaming mode, support concurrent writing, support exactly-once semantics (using XA transaction guarantee).

Supported DataSource listarrow-up-right

datasource
supported versions
driver
url

redshift

Different dependency version has different driver class.

com.amazon.redshift.jdbc.Driver

jdbc:redshift://localhost:5439/database

Data Type Mappingarrow-up-right

Nexus Data type
Redshift Data type

BOOLEAN

BOOLEAN

TINYINT SMALLINT

SMALLINT

INT

INTEGER

BIGINT

BIGINT

FLOAT

REAL

DOUBLE

DOUBLE PRECISION

DECIMAL

NUMERIC

STRING(<=65535)

CHARACTER VARYING

STRING(>65535)

SUPER

BYTES

BINARY VARYING

TIME

TIME

TIMESTAMP

TIMESTAMP

MAP ARRAY ROW

SUPER

Task Examplearrow-up-right

CDC(Change data capture) eventarrow-up-right

CDC change data is also supported by us In this case, you need config database, table and primary_keys.

Last updated