Closed icot closed 1 year ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
I had the same problem.
This was fixed by https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24798 & will be in the next release
Indeed, it can be closed
Component(s)
exporter/kafka
What happened?
Description
The following snippet from commit c62e76d446 makes it a requirement to have a SASL related section, as the call for validateSASLConfig is always executed as the tail of the validate() method.
This produces a fatal nil object dereferencing when no SASL configuration is present.
Steps to Reproduce
Start the collector with a configuration file containing a kafka exporter without SASL configuration section.
Expected Result
The collector starts normally
Actual Result
Error derreferencil an nil object and fatal crash
Collector version
8a4348cb00
Environment information
Environment
OS: Debian 12.0 Compiler(if manually compiled): go version go1.20.5 linux/amd64
OpenTelemetry Collector configuration
Log output
Additional context
No response