Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
KafkaBrokers() []string
}
Config represents the configuration required for a consumer service
type DefaultProducerConfig ¶
type DefaultProducerConfig struct {
// contains filtered or unexported fields
}
DefaultProducerConfig is a default Config implementation
func (DefaultProducerConfig) KafkaBrokers ¶
func (c DefaultProducerConfig) KafkaBrokers() []string
KafkaBrokers implements Config.KafkaBrokers
type Message ¶
Message ...
func NewByteMessage ¶
NewByteMessage returns a new Message
func NewStringMessage ¶
NewStringMessage returns a new Message
Click to show internal directories.
Click to hide internal directories.