dlq

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder func() (DLQ, error)

type DLQ

type DLQ interface {
	Publish(ctx context.Context, record *data.Record) error
}

func NewDLQ

func NewDLQ(options *Options) (DLQ, error)

type DqlType

type DqlType int
const DqlGlobal DqlType = 1
const DqlPerTopic DqlType = 2

type Options

type Options struct {
	BootstrapServers []string
	Topic            string
	TopicFormat      string
	Type             DqlType
	Producer         producer.Producer
}

Jump to

Keyboard shortcuts

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