Documentation ¶
Index ¶
Constants ¶
View Source
const ( Space = " " Comma = "," )
Variables ¶
This section is empty.
Functions ¶
func NewConsumer ¶
func NewConsumer(config ConsumerConfig, done <-chan struct{}) (outKvChan <-chan *util.KV, err error)
TODO: LOGGING
Types ¶
type ConsumerConfig ¶
type ConsumerConfig struct {
// contains filtered or unexported fields
}
func NewConsumerConfig ¶
func NewConsumerConfig(brokers, topics, groupId string, chanCapacity int) ConsumerConfig
func (ConsumerConfig) OK ¶
func (config ConsumerConfig) OK() (bool, error)
Click to show internal directories.
Click to hide internal directories.