You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2022/12/07 22:02:00 UTC

[jira] [Commented] (KAFKA-14443) Mirror Maker Connectors leak admin clients used for topic creation

    [ https://issues.apache.org/jira/browse/KAFKA-14443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644530#comment-17644530 ] 

Chris Egerton commented on KAFKA-14443:
---------------------------------------

Merged and backported the fix to the 3.4 release branch.

> Mirror Maker Connectors leak admin clients used for topic creation
> ------------------------------------------------------------------
>
>                 Key: KAFKA-14443
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14443
>             Project: Kafka
>          Issue Type: Bug
>          Components: mirrormaker
>            Reporter: Greg Harris
>            Assignee: Greg Harris
>            Priority: Blocker
>             Fix For: 3.4.0
>
>
> the MirrorMaker connectors are each responsible for creating internal topics.
> For example, the Checkpoint connector creates a forwarding admin and passes it to a method to create the topic, but never closes the ForwardingAdmin or delegate objects: [https://github.com/apache/kafka/blob/13c9c78a1f4ad92023e8354069c6817b44c89ce6/connect/mirror/src/main/java/org/apache/kafka/connect/mirror/MirrorCheckpointConnector.java#L161-L164]
> Instead, this object should be intentionally closed when it is no longer needed, to prevent consuming resources in a running MM2 application.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)