Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoRepairConfig ¶
type CertAuthConfig ¶
type Config ¶
type Config struct {
Postgres PostgresConfig `yaml:"postgres"`
TableDiff DiffConfig `yaml:"table_diff"`
MTree MTreeConfig `yaml:"mtree"`
Server ServerConfig `yaml:"server"`
ScheduleJobs []JobDef `yaml:"schedule_jobs"`
ScheduleConfig []SchedDef `yaml:"schedule_config"`
AutoRepair AutoRepairConfig `yaml:"auto_repair_config"`
CertAuth CertAuthConfig `yaml:"cert_auth"`
DebugMode bool `yaml:"debug_mode"`
}
var Cfg *Config
Cfg holds the loaded config for the whole app.
type DiffConfig ¶
type DiffConfig struct {
ConcurrencyFactor int `yaml:"concurrency_factor"`
MaxDiffRows int64 `yaml:"max_diff_rows"`
MinBlockSize int `yaml:"min_diff_block_size"`
MaxBlockSize int `yaml:"max_diff_block_size"`
DiffBlockSize int `yaml:"diff_block_size"`
MaxCPURatio float64 `yaml:"max_cpu_ratio"`
BatchSize int `yaml:"diff_batch_size"`
MaxBatchSize int `yaml:"max_diff_batch_size"`
CompareUnitSize int `yaml:"compare_unit_size"`
}
type MTreeConfig ¶
type MTreeConfig struct {
CDC struct {
SlotName string `yaml:"slot_name"`
PublicationName string `yaml:"publication_name"`
CDCProcessingTimeout int `yaml:"cdc_processing_timeout"`
} `yaml:"cdc"`
Schema string `yaml:"schema"`
Diff struct {
MinBlockSize int `yaml:"min_block_size"`
BlockSize int `yaml:"block_size"`
MaxBlockSize int `yaml:"max_block_size"`
} `yaml:"diff"`
}
type PostgresConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.