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

Kafka Connect - Plugins class should have a constructor that can take in parent ClassLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0.4, 1.0.3, 1.1.2, 2.0.1, 2.1.0
    • connect
    • None

    Description

      Currently Plugins class has a single constructor that takes in map of props.

      Please make Plugin class to have a constructor that takes in a classLoader as well and use it to set DelegationClassLoader's parent classLoader.

      Reason:

      This will be useful if i am already having a managed class Loader environment like a Spring boot app which resolves my class dependencies using my maven/gradle dependency management.

      Attachments

        Issue Links

          Activity

            People

              kkonstantine Konstantine Karantasis
              sriramks85 Sriram KS
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: