Resource leak in KafkaProducer when reset to initial state in a CR
Opened this issue · 2 comments
Deleted user commented
When the KafkaProducer operator is reset to initial state, a new ProducerClient instance is created. It instantiates a new MetricsFetcher
, which consumes a thread from the operator's thread pool.
The thread of the old ProducerClient.metricsFetcher keeps running referencing the old metricsFetcher instance.
Deleted user commented
Bug detected when #164 has been tested.
Deleted user commented
resolved with v2.1.0