kafkaWriter

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TraceId = iota
	AgentId
	RoutineId
	NextKey
	OnlyKey
)

Variables

This section is empty.

Functions

func WriteMessages

func WriteMessages(w *kafka.Writer, ctx context.Context, msgs ...kafka.Message) error

func WriteMessagesT

func WriteMessagesT(w *kafka.Writer, ctx context.Context, msgs ...kafka.Message) error

Types

type KafkaWriter

type KafkaWriter struct {
}

func (*KafkaWriter) Hook

func (h *KafkaWriter) Hook()

func (*KafkaWriter) UnHook

func (h *KafkaWriter) UnHook()

Jump to

Keyboard shortcuts

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