processor

package
v0.0.0-...-b042743 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaProcessor

type KafkaProcessor struct {
	// contains filtered or unexported fields
}

Kafka log processor

func NewKafkaProcessor

func NewKafkaProcessor(address []string, topic string, partitions []int32, logQueue *queue.LogQueue) *KafkaProcessor

New kafka processor function

func (*KafkaProcessor) Close

func (processor *KafkaProcessor) Close() error

Close kafka consumer

func (*KafkaProcessor) Run

func (processor *KafkaProcessor) Run() error

Run to process log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL