Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConfig ¶
type ClusterConfig struct { Brokers []string `yaml:"brokers"` TopicFilter string `yaml:"topicFilter"` TLS TLSConfig `yaml:"tls"` SASL SASLConfig `yaml:"sasl"` // contains filtered or unexported fields }
func (*ClusterConfig) GetCredentials ¶
func (c *ClusterConfig) GetCredentials() *SASLCredentials
func (*ClusterConfig) LoadSASLCredentials ¶
func (c *ClusterConfig) LoadSASLCredentials(clusterName string) error
type Config ¶
type Config struct { Global GlobalConfig `yaml:"global"` Log LogConfig `yaml:"log"` Kafka KafkaConfig `yaml:"kafka"` Clusters map[string]ClusterConfig `yaml:"clusters"` }
Config represents the application configuration
func LoadConfig ¶
LoadConfig loads and validates the configuration
type GlobalConfig ¶
type KafkaConfig ¶
type RuntimeSASLConfig ¶
type SASLConfig ¶
type SASLCredentials ¶
Click to show internal directories.
Click to hide internal directories.