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"` Compression string `yaml:"compression"` RetryMax int `yaml:"retry-max"` RetryBackoff int `yaml:"retry-backoff"` }
KafkaConfig represents kafka configuration
type MQueue ¶
type MQueue interface {
// contains filtered or unexported methods
}
MQueue represents messaging queue methods
type NSQ ¶
type NSQ struct {
// contains filtered or unexported fields
}
NSQ represents nsq producer
type NSQConfig ¶
type NSQConfig struct {
Broker string `json:"broker"`
}
NSQConfig represents NSQ configuration
Click to show internal directories.
Click to hide internal directories.