kafka

package
v1.6.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kafka

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

Kafka allows reading/writing to a Kafka consumer group.

func NewKafka

func NewKafka(logger logger.Logger) *Kafka

NewKafka returns a new kafka binding instance.

func (*Kafka) Close added in v1.4.4

func (k *Kafka) Close() error

func (*Kafka) Init

func (k *Kafka) Init(metadata bindings.Metadata) error

Init does metadata parsing and connection establishment.

func (*Kafka) Invoke

func (*Kafka) Operations

func (k *Kafka) Operations() []bindings.OperationKind

func (*Kafka) Read

func (k *Kafka) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error

Jump to

Keyboard shortcuts

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