Closed
Description
Component(s)
receiver/azureeventhub
What happened?
Description
When using a storage extension, the component should call Close
on the client during component shutdown. However, it does not. If using the file storage extension, this may result in a file remaining locked after component shutdown.
Steps to Reproduce
This would be difficult to reproduce without custom code, since normally shutting down the component only occurs as the process is also being terminated, which means the file will be released. It was observed in a custom build where the component graph is restarted without restarting the collector.
Collector version
v0.118.0
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response