kafkareceiver

package
v0.0.0-...-3f6bfc6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package kafkareceiver implements Jaeger Kafka consumer as OpenTelemetry receiver.

Index

Constants

View Source
const TypeStr = "jaeger_kafka"

TypeStr defines exporter type.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags *flag.FlagSet)

AddFlags adds Ingester flags.

func DefaultOptions

func DefaultOptions() *ingesterApp.Options

DefaultOptions creates Kafka options supported by this receiver.

Types

type Config

type Config struct {
	configmodels.ReceiverSettings `mapstructure:",squash"`
	ingesterApp.Options           `mapstructure:",squash"`
}

Config hold configuration for Jaeger kafka receiver/ingester.

type Factory

type Factory struct {
	OptionsFactory OptionsFactory
}

Factory is used to build the receiver.

func (Factory) CreateDefaultConfig

func (f Factory) CreateDefaultConfig() configmodels.Receiver

CreateDefaultConfig creates default config. This function implements OTEL component.ReceiverFactoryBase interface.

func (Factory) CreateMetricsReceiver

CreateMetricsReceiver returns metrics receiver. This function implements OTEL component.ReceiverFactory.

func (Factory) CreateTraceReceiver

CreateTraceReceiver returns Kafka receiver. This function implements OTEL component.ReceiverFactory.

func (Factory) CustomUnmarshaler

func (f Factory) CustomUnmarshaler() component.CustomUnmarshaler

CustomUnmarshaler returns custom marshaller. This function implements OTEL component.ReceiverFactoryBase interface.

func (Factory) Type

func (f Factory) Type() configmodels.Type

Type returns the receiver type.

type OptionsFactory

type OptionsFactory func() *ingesterApp.Options

OptionsFactory returns initialized ingester app.Options structure.

Jump to

Keyboard shortcuts

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