Redshift
JDBC Redshift sink Connector
Key features
Use
Xa transactionsto ensureexactly-once. So only supportexactly-oncefor the database which is supportXa transactions. You can setis_exactly_once=trueto enable it.
Description
Write data through jdbc. Support Batch mode and Streaming mode, support concurrent writing, support exactly-once semantics (using XA transaction guarantee).
Supported DataSource list
redshift
Different dependency version has different driver class.
com.amazon.redshift.jdbc.Driver
jdbc:redshift://localhost:5439/database
Data Type Mapping
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 Example
Simple:
CDC(Change data capture) event
CDC change data is also supported by us In this case, you need config database, table and primary_keys.
Last updated