Skip to content

Kafka Receiver and Exporter: use same default value for topic setting #27292

Closed
@andreasgerstmayr

Description

@andreasgerstmayr

Component(s)

exporter/kafka, receiver/kafka

Describe the issue you're reporting

For the Kafka receiver, the default topic is always otlp_spans:


For the Kafka exporter, the default topic is otlp_spans for traces, otlp_metrics for metrics, otlp_logs for logs:

// using an empty topic to track when it has not been set by user, default is based on traces or metrics.

oCfg.Topic = defaultMetricsTopic

The default values should be identical for the Kafka receiver and exporter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions