kafkagoframe

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KafkaGoProducerIndexContext = tingyun3.StorageMQKafka + 4
)

Variables

This section is empty.

Functions

func ReaderFetchMessage

func ReaderFetchMessage(r *kafka.Reader, ctx context.Context) (kafka.Message, error)

func WrapReaderFetchMessage

func WrapReaderFetchMessage(r *kafka.Reader, ctx context.Context) (kafka.Message, error)

func WrapwriterWriteMessages

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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