Documentation
¶
Overview ¶
Consumes flows from a Kafka instance and passes them to the following segments. This segment is based on the kafkaconnector library: https://github.com/bwNetFlow/kafkaconnector
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaConsumer ¶
type KafkaConsumer struct {
segments.BaseSegment
Server string // required
Topic string // required
Group string // required
User string // required if auth is true
Pass string // required if auth is true
Tls bool // optional, default is true
Auth bool // optional, default is true
}
func (KafkaConsumer) New ¶
func (segment KafkaConsumer) New(config map[string]string) segments.Segment
func (*KafkaConsumer) Run ¶
func (segment *KafkaConsumer) Run(wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.