Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollectorWithConfig ¶
func NewCollectorWithConfig(cfg *ec.Config) (ec.EventCollector, error)
NewCollectorWithConfig contructs a kafka event collector with `Config`.
Types ¶
type Collector ¶
type Collector struct { Client sarama.AsyncProducer Topic string }
Collector wraps a kafka collector.
func NewCollector ¶
NewCollector creates a kafka collector.
Click to show internal directories.
Click to hide internal directories.