You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Randall Hauch (Jira)" <ji...@apache.org> on 2021/02/18 18:54:00 UTC
[jira] [Created] (KAFKA-12340) Recent change to use
SharedTopicAdmin results in potential resource leak in deprecated backing
store constructors
Randall Hauch created KAFKA-12340:
-------------------------------------
Summary: 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
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)