dlq

package
Version: v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 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
}

Source Files

Jump to

Keyboard shortcuts

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