kafka

package
v0.0.0-...-f509af9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSource

func GetSource() api.Source

Types

type KafkaSource

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

func (*KafkaSource) Close

func (s *KafkaSource) Close(_ api.StreamContext) error

func (*KafkaSource) Configure

func (s *KafkaSource) Configure(topic string, props map[string]interface{}) error

func (*KafkaSource) GetOffset

func (s *KafkaSource) GetOffset() (interface{}, error)

func (*KafkaSource) Open

func (s *KafkaSource) Open(ctx api.StreamContext, consumer chan<- api.SourceTuple, errCh chan<- error)

func (*KafkaSource) Ping

func (s *KafkaSource) Ping(d string, props map[string]interface{}) error

func (*KafkaSource) ResetOffset

func (s *KafkaSource) ResetOffset(input map[string]interface{}) error

func (*KafkaSource) Rewind

func (s *KafkaSource) Rewind(offset interface{}) error

Jump to

Keyboard shortcuts

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