Luke Chen created KAFKA-14012: --------------------------------- Summary: resource leak due to passing a "method" into the `Utils.closeQuietly` method 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
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)