kafka

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_PARTITIONS         int32 = 3
	DEFAULT_REPLICATION_FACTOR int16 = 1 // NOTE! Really not a good default.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

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

func (*Sink) Dequeue

func (s *Sink) Dequeue(ctx context.Context, envelopes []envelope.Envelope, output string) error

func (*Sink) Enqueue

func (s *Sink) Enqueue(envelopes []envelope.Envelope) error

func (*Sink) Initialize

func (s *Sink) Initialize(conf config.Sink) error

func (*Sink) Metadata

func (s *Sink) Metadata() backendutils.SinkMetadata

func (*Sink) Shutdown

func (s *Sink) Shutdown() error

func (*Sink) StartWorker

func (s *Sink) StartWorker() error

Jump to

Keyboard shortcuts

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