You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[kafkareceiver] failed to unmarshal message {"kind": "receiver", "name": "kafka/metrics", "data_type": "metrics", "error": "proto: MetricsData: wiretype end group for non-group"}
#34850
narayanbhawar10
changed the title
[kafkareceiver] getting error kafkareceiver/kafka_receiver.go:580 failed to unmarshal message {"kind": "receiver", "name": "kafka/metrics", "data_type": "metrics", "error": "proto: MetricsData: wiretype end group for non-group"}
[kafkareceiver] failed to unmarshal message {"kind": "receiver", "name": "kafka/metrics", "data_type": "metrics", "error": "proto: MetricsData: wiretype end group for non-group"}
Aug 27, 2024
Hello, the problem that you have is that you specify a topic "topic: mykafka" but you try to use it for your metrics and logs and traces pipelines. A topic should only contain one signal: either metrics, logs or traces.
You have two options to solve your problem:
either you have three different topics named exactly "otlp_metrics", "otlp_tracees" and "otlp_spans". Then you can remove the "topic: mykafka" to use the default version per pipeline.
or if you want different names for your topics, you will need to create 3 kafka receivers in your config
Component(s)
receiver/kafka
What happened?
Description
Getting error while using kafka reciever to get metrics
Steps to Reproduce
Expected Result
Actual Result
Collector version
Latest
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: