Open horato opened 5 months ago
What is the scenario for memory leaking? When you're done with the producer, the handlers would go with it.
Can you provide more details?
I am not sure what more details you want me to provide. I need a way to unsubscribe/unset reference to error/log handlers actions as described in the issue's title and description. Namely
ProducerBuilder<,>.ErrorHandler
ProducerBuilder<,>.LogHandler
Producer<,>.errorHandler
Producer<,>.logHandler
Description
There is currently no way to remove the referenced Actions from Producer/Consumer which might cause a memory leak.
How to reproduce
Confluent.Kafka 2.3.0 librdkafka 2.3.0
Checklist
Please provide the following information: