Available on crate features
sink-redshift or source-redshift only.Expand description
Shared Amazon Redshift types (credentials enum, connection block, pool builder), re-exported when either Redshift connector is enabled.
Structs§
- Redshift
Connection - A Redshift connection: endpoint, database, user, credentials, and a TLS
toggle. Flattened (
#[serde(flatten)]) into both the source and sink configs so the connection fields appear at the config top level.
Enums§
- Redshift
Credentials - How to authenticate with Amazon Redshift.
Constants§
- DEFAULT_
PORT - Default Redshift port.
Functions§
- build_
connect_ options - Build the
sqlxPgConnectOptionsfor aRedshiftConnection. - build_
pool - Build a pool and eagerly validate one connection so bad credentials / an unreachable host fail fast.
- build_
pool_ lazy - Build a lazily-connected pool (no I/O at construction). The first query
establishes the connection; connectivity/auth errors surface then (or via
faucet_core::Source::check/faucet_core::Sink::check). Used by the connectors’new()so construction stays offline-safe. - resolve_
password - Resolve the password for the connection’s credentials.