config

package
v1.0.0-beta.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(config Config) error

Types

type Config

type Config struct {
	Loader            redshiftloader.LoaderConfig `yaml:"loader"`
	ConsumerGroups    []kafka.ConsumerGroupConfig `yaml:"consumerGroups"`
	S3Sink            s3sink.Config               `yaml:"s3sink"`
	SchemaRegistryURL string                      `yaml:"schemaRegistryURL"`
	PrometheusURL     string                      `yaml:"prometheusURL"`
	Redshift          redshift.RedshiftConfig     `yaml:"redshift"`
	RedshiftGroup     *string                     `yaml:"redshiftGroup,omitempty"`
	RedshiftMetrics   bool                        `yaml:"redshiftMetrics"`
	Rsk               string                      `yaml:"rsk,omitempty"`
	SinkGroup         string                      `yaml:"sinkGroup,omitempty"`
}

func LoadConfig

func LoadConfig(cmd *cobra.Command) (Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL