producer

package
v0.0.0-...-c2c101f Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KAFKA_FLUSH_TIMEOUT_MS = 300000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaProducerBuilder

type KafkaProducerBuilder struct {
}

func (*KafkaProducerBuilder) Create

type Producer

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

func (*Producer) AsyncSend

func (p *Producer) AsyncSend(msg *types.Message) error

func (*Producer) Close

func (p *Producer) Close()

func (*Producer) Flush

func (p *Producer) Flush(timeout int) error

func (*Producer) Start

func (p *Producer) Start() error

Jump to

Keyboard shortcuts

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