Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Sync: SyncCfg{ BatchMaxItems: 25000, BatchTimeout: time.Second * 60, SkipAcknowledge: false, ProhibitDropSlot: false, }, Postgres: PostgresCfg{ Connection: "", SlotName: "mammoth", StandbyMessageInterval: time.Second * 10, }, Snowflake: SnowflakeCfg{ Connection: "", }, Logger: LoggerCfg{ Level: "info", JSON: false, }, }
View Source
var DefaultStreamToFileConfig = Config{ Sync: SyncCfg{ BatchMaxItems: 10000, BatchTimeout: time.Second * 20, SkipAcknowledge: true, ProhibitDropSlot: true, }, Postgres: PostgresCfg{ Connection: "", SlotName: "", StandbyMessageInterval: time.Second * 10, }, Logger: LoggerCfg{ Level: "info", JSON: false, }, }
Functions ¶
func WriteExampleConfig ¶
Types ¶
type Config ¶
type Config struct { Sync SyncCfg Postgres PostgresCfg Snowflake SnowflakeCfg Logger LoggerCfg }
type PostgresCfg ¶
type SnowflakeCfg ¶
Click to show internal directories.
Click to hide internal directories.