[ 
https://issues.apache.org/jira/browse/KAFKA-14012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luke Chen updated KAFKA-14012:
------------------------------
    Summary: passing a "method" into the `Utils.closeQuietly` method cause a 
no-op call  (was: resource leak due to passing a "method" into the 
`Utils.closeQuietly` method)

> passing a "method" into the `Utils.closeQuietly` method cause a no-op call
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-14012
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14012
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 3.2.0
>            Reporter: Luke Chen
>            Priority: Major
>
> Utils.closeQuietly method accepts `AutoCloseable` object, and close it. But 
> there are some places we passed "method" into Utils.closeQuietly, which 
> causes the object doesn't get closed as expected. 
> I found it appeared in:
> - WorkerConnector
> - AbstractWorkerSourceTask
> - KafkaConfigBackingStore
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to