kafka

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProducer

func NewProducer() service.Service

Types

type Producer

type Producer struct {
	service.Service
	AccessLogProducer sarama.AsyncProducer
	// contains filtered or unexported fields
}

func (*Producer) Close

func (r *Producer) Close()

func (*Producer) Name

func (r *Producer) Name() string

func (*Producer) Reload

func (r *Producer) Reload()

func (*Producer) SendAll

func (r *Producer) SendAll(table string, data []byte) bool

func (*Producer) Start

func (r *Producer) Start()

Jump to

Keyboard shortcuts

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