Documentation ¶
Overview ¶
Package kafka implements the Apache Kafka connector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaSink ¶
type KafkaSink struct {
// contains filtered or unexported fields
}
KafkaSink represents an Apache Kafka sink connector.
func NewKafkaSink ¶
NewKafkaSink returns a new KafkaSink instance.
type KafkaSource ¶
type KafkaSource struct {
// contains filtered or unexported fields
}
KafkaSource represents an Apache Kafka source connector.
func NewKafkaSource ¶
func NewKafkaSource(ctx context.Context, config kafka.ReaderConfig) (*KafkaSource, error)
NewKafkaSource returns a new KafkaSource instance.
func (*KafkaSource) Out ¶
func (ks *KafkaSource) Out() <-chan any
Out returns an output channel for sending data.
Click to show internal directories.
Click to hide internal directories.