kafka

package
v0.0.0-...-1a65ef4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const KAFKA_OB_TYPE = "kafka"
View Source
const KAFKA_SASL_TYPE_NONE = "none"
View Source
const KAFKA_SASL_TYPE_PLAIN = "plain"
View Source
const KAFKA_SASL_TYPE_SCRAM = "scram"
View Source
const KAFKA_SINK_TYPE = "kafka"

Variables

This section is empty.

Functions

func Init

func Init()

func NewKafkaObserver

func NewKafkaObserver(properties map[string]interface{}) (observer.Observer, error)

func NewKafkaSink

func NewKafkaSink(properties map[string]interface{}) (sink.Sink, error)

Types

type KafkaObserver

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

func (*KafkaObserver) Observe

func (o *KafkaObserver) Observe() error

func (*KafkaObserver) Stop

func (o *KafkaObserver) Stop()

func (*KafkaObserver) Wait

func (o *KafkaObserver) Wait()

type KafkaResult

type KafkaResult map[string]interface{}

type KafkaSink

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

func (*KafkaSink) GetStats

func (s *KafkaSink) GetStats() *sink.Stats

func (*KafkaSink) Init

func (s *KafkaSink) Init(name string, fields []common.Field) error

func (*KafkaSink) Write

func (s *KafkaSink) Write(headers []string, rows [][]interface{}, index int) error

Jump to

Keyboard shortcuts

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