kafkaingest

package
v1.0.0-beta.139 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KafkaProducerGroup

func KafkaProducerGroup(ctx context.Context, producer *kafka.Producer, logger *slog.Logger, kafkaMetrics *kafkametrics.Metrics) (execute func() error, interrupt func(error))

Types

type Collector

type Collector = kafkaingest.Collector

Collector is a receiver of events that handles sending those events to a downstream Kafka broker.

func NewCollector

func NewCollector(
	producer *kafka.Producer,
	serializer serializer.Serializer,
	namespacedTopicTemplate string,
	metricMeter metric.Meter,
) (*Collector, error)

type NamespaceHandler

type NamespaceHandler = kafkaingest.NamespaceHandler

NamespaceHandler is a namespace handler for Kafka ingest topics.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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