kafka

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaSource

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

func NewKafkaSource

func NewKafkaSource(brokers []string, topic, groupID string, username, password string) *KafkaSource

func (*KafkaSource) Ack

func (s *KafkaSource) Ack(ctx context.Context, msg hermod.Message) error

func (*KafkaSource) Close

func (s *KafkaSource) Close() error

func (*KafkaSource) IsReady

func (s *KafkaSource) IsReady(ctx context.Context) error

func (*KafkaSource) Ping

func (s *KafkaSource) Ping(ctx context.Context) error

func (*KafkaSource) Read

func (s *KafkaSource) Read(ctx context.Context) (hermod.Message, error)

func (*KafkaSource) Sample

func (s *KafkaSource) Sample(ctx context.Context, table string) (hermod.Message, error)

Jump to

Keyboard shortcuts

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