Help us shape the future of Go! Take the 2026 Go Developer Survey

kafka

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKafka

func NewKafka(logger logger.Logger) bindings.InputOutputBinding

NewKafka returns a new kafka binding instance.

Types

type Binding added in v1.8.0

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

func (*Binding) Close added in v1.8.0

func (b *Binding) Close() (err error)

func (*Binding) GetComponentMetadata added in v1.11.0

func (b *Binding) GetComponentMetadata() map[string]string

GetComponentMetadata returns the metadata of the component.

func (*Binding) Init added in v1.8.0

func (b *Binding) Init(ctx context.Context, metadata bindings.Metadata) error

func (*Binding) Invoke added in v1.8.0

func (*Binding) Operations added in v1.8.0

func (b *Binding) Operations() []bindings.OperationKind

func (*Binding) Read added in v1.8.0

func (b *Binding) Read(ctx context.Context, handler bindings.Handler) error

Jump to

Keyboard shortcuts

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