kafka

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ExporterName = "kafka"

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	infratelemetry.KafkaBase
}

func NewKafkaTemplate

func NewKafkaTemplate(logger *slog.Logger, kafkaCfg config.KafkaConfig) *Exporter

func (*Exporter) DataClass added in v0.3.4

func (p *Exporter) DataClass() metrics.DataClass

DataClass fixes this exporter to the metadata class; the pipeline routes only the sanitized metadata view here, so the full-event marshal never carries sensible bodies (ENG-1021).

func (*Exporter) Name

func (p *Exporter) Name() string

func (*Exporter) Publish

func (p *Exporter) Publish(_ context.Context, evt *events.Event) error

func (*Exporter) ValidateConfig

func (p *Exporter) ValidateConfig(settings map[string]interface{}) error

func (*Exporter) WithSettings

func (p *Exporter) WithSettings(settings map[string]interface{}) (appmetrics.Exporter, error)

Jump to

Keyboard shortcuts

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