Go version

go version go1.20.13 darwin/amd64

Output of go env in your module/workspace:

go.opentelemetry.io/collector v0.98.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.98.0

What did you do?

fetching msg and just printing. pprof result: Golang Memory leak problem with Opentelemetry Collector Using KafkaReceiver Golang Memory leak problem with Opentelemetry Collector Using KafkaReceiver

What did you see happen?

memory usage is going up over time until oom

What did you expect to see?

no oom

Comment From: randall77

It seems unlikely this is a bug in Go itself. You should open an issue against opentelemetry, probably.