Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14443

Mirror Maker Connectors leak admin clients used for topic creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.4.0
    • mirrormaker
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gharris1727 Greg Harris
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: