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

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.2, 2.8.0, 2.7.1, 2.6.2
    • 2.5.2, 2.8.0, 2.7.1, 2.6.2
    • connect
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: