Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigDsn = "dsn" ConfigKeyColumns = "keyColumns" ConfigTable = "table" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { common.Configuration // Table is the configuration of the table name. Table string `json:"table" default:"{{ index .Metadata \"opencdc.collection\" }}"` // KeyColumns is the configuration of comma-separated column names to build the record key. KeyColumns []string `json:"keyColumns"` }
Config is a destination configuration needed to connect to Redshift database.
func (Config) TableFunction ¶
TableFunction returns a function that determines the table for each record individually. The function might be returning a static table name. If the table is neither static nor a template, an error is returned.
Click to show internal directories.
Click to hide internal directories.