[
https://issues.apache.org/jira/browse/KAFKA-12340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Randall Hauch resolved KAFKA-12340.
-----------------------------------
Resolution: Fixed
Merged to `trunk`, and cherry-picked to:
* `2.8` for inclusion in 2.8.0 (with release manager approval)
* `2.7` for inclusion in 2.7.1
* `2.6` for inclusion in 2.6.2 (with release manager approval)
* `2.5` for inclusion in 2.5.2
> Recent change to use SharedTopicAdmin results in potential resource leak in
> deprecated backing store constructors
> -----------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-12340
> URL: https://issues.apache.org/jira/browse/KAFKA-12340
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect
> Affects Versions: 2.5.2, 2.8.0, 2.7.1, 2.6.2
> Reporter: Randall Hauch
> Assignee: Randall Hauch
> Priority: Blocker
> Fix For: 2.5.2, 2.8.0, 2.7.1, 2.6.2
>
>
> When KAFKA-10021 modified the Connect `Kafka*BackingStore` classes, we
> deprecated the old constructors and changed all uses within AK to use the new
> constructors that take a `Supplier<TopicAdmin>`.
> If the old deprecated constructors are used (outside of AK), then they will
> not close the Admin clients that are created by the "default" supplier.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)