kafka

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSender

func NewSender(conf conf.MapConf) (kafkaSender sender.Sender, err error)

kafka sender

Types

type Sender

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

func (*Sender) Close

func (this *Sender) Close() (err error)

func (*Sender) Name

func (this *Sender) Name() string

func (*Sender) RawSend added in v1.5.4

func (this *Sender) RawSend(datas []string) error

func (*Sender) Send

func (this *Sender) Send(data []Data) error

func (*Sender) SkipDeepCopy added in v1.5.1

func (*Sender) SkipDeepCopy() bool

Jump to

Keyboard shortcuts

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