kafka

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KafkazipkinTopicfail = errors.New("trace: Parse  kafkazipkin url fail Topic is nil")
	KafkazipkinHostfail  = errors.New("trace: Parse  kafkazipkin url fail Host is nil")
)

Functions

func NewSaramaReporter

func NewSaramaReporter(address string, asyncFlag bool, logger *logrus.Entry) (r reporter.Reporter, err error)

Types

type KafkaGoReporter

type KafkaGoReporter struct {
	Stoped bool
	// contains filtered or unexported fields
}

func NewGoReporter

func NewGoReporter(endpoint string) (*KafkaGoReporter, error)

func (*KafkaGoReporter) Close

func (r *KafkaGoReporter) Close() error

func (*KafkaGoReporter) Send

func (r *KafkaGoReporter) Send(s model.SpanModel, flag bool)

type Producer

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

Jump to

Keyboard shortcuts

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