Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
func (*Connector) SetDefault ¶
func (c *Connector) SetDefault()
type Kafka ¶
type Kafka struct { ProducerBatchBytes string `yaml:"producerBatchBytes"` TableTopicMapping map[string]string `yaml:"tableTopicMapping"` InterCA []byte `yaml:"interCA"` ScramUsername string `yaml:"scramUsername"` ScramPassword string `yaml:"scramPassword"` RootCA []byte `yaml:"rootCA"` ClientID string `yaml:"clientID"` Balancer string `yaml:"balancer"` Brokers []string `yaml:"brokers"` MetadataTopics []string `yaml:"metadataTopics"` ProducerMaxAttempts int `yaml:"producerMaxAttempts"` ReadTimeout time.Duration `yaml:"readTimeout"` WriteTimeout time.Duration `yaml:"writeTimeout"` RequiredAcks int `yaml:"requiredAcks"` ProducerBatchSize int `yaml:"producerBatchSize"` MetadataTTL time.Duration `yaml:"metadataTTL"` ProducerBatchTickerDuration time.Duration `yaml:"producerBatchTickerDuration"` Compression int8 `yaml:"compression"` SecureConnection bool `yaml:"secureConnection"` AllowAutoTopicCreation bool `yaml:"allowAutoTopicCreation"` }
func (*Kafka) GetBalancer ¶
func (k *Kafka) GetBalancer() kafka.Balancer
func (*Kafka) GetCompression ¶
Click to show internal directories.
Click to hide internal directories.