Documentation ¶
Overview ¶
Package producer pushes decoded messages to message queues
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
Kafka represents kafka producer
type KafkaConfig ¶
type KafkaConfig struct { Brokers []string `yaml:"brokers" env:"BROKERS"` Compression string `yaml:"compression" env:"COMPRESSION"` RetryMax int `yaml:"retry-max" env:"RETRY_MAX"` RetryBackoff int `yaml:"retry-backoff" env:"RETRY_BACKOFF"` TLSCertFile string `yaml:"tls-cert" env:"TLS_CERT"` TLSKeyFile string `yaml:"tls-key" env:"TLS_KEY"` CAFile string `yaml:"ca-file" env:"CA_FILE"` VerifySSL bool `yaml:"verify-ssl" env:"VERIFY_SSL"` }
KafkaConfig represents kafka configuration
type MQueue ¶
type MQueue interface {
// contains filtered or unexported methods
}
MQueue represents messaging queue methods
type NATS ¶ added in v0.3.2
type NATS struct {
// contains filtered or unexported fields
}
NATS represents nats producer
type NATSConfig ¶ added in v0.3.2
type NATSConfig struct {
URL string `json:"endpoint"`
}
NATSConfig is the struct that holds all configuation for NATS connections
type NSQ ¶
type NSQ struct {
// contains filtered or unexported fields
}
NSQ represents nsq producer
type NSQConfig ¶
type NSQConfig struct {
Server string `json:"server"`
}
NSQConfig represents NSQ configuration
Click to show internal directories.
Click to hide internal directories.