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

Recent change to use SharedTopicAdmin results in potential resource leak in deprecated backing store constructors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.2, 2.8.0, 2.7.1, 2.6.2
    • Fix Version/s: 2.5.2, 2.8.0, 2.7.1, 2.6.2
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhauch Randall Hauch
                Reporter:
                rhauch Randall Hauch
                Reviewer:
                Konstantine Karantasis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: