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)