saramaframe

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SaramaProducerIndexContext = tingyun3.StorageMQKafka + 0
	SaramaConsumerIndexContext = tingyun3.StorageMQKafka + 1
	SaramaConsumerIndexStore   = tingyun3.StorageMQKafka + 2
)

Variables

This section is empty.

Functions

func WrapasyncProducerInput

func WrapasyncProducerInput(p *asyncProducer) chan<- *sarama.ProducerMessage

func WrappartitionConsumerMessages

func WrappartitionConsumerMessages(child *partitionConsumer) <-chan *sarama.ConsumerMessage

func WrapsyncProducerSendMessage

func WrapsyncProducerSendMessage(sp *syncProducer, msg *sarama.ProducerMessage) (partition int32, offset int64, err error)

func WrapsyncProducerSendMessages

func WrapsyncProducerSendMessages(sp *syncProducer, msgs []*sarama.ProducerMessage) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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