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

Plugins class' newConverter and newHeaderConverter methods are unclear

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • connect
    • None

    Description

      The ClassLoaderUsage enum is a bit unclear as to what the code is doing. The `CURRENT_CLASSLOADER` is really about using the connector's configuration, whereas the `PLUGINS` literal is more about using the worker's configuration. We should clean this up, and we should also look at moving the if-block into the `CURRENT_CLASSLOADER` case in newConverter, just as we did in the newHeaderConverter method in KAFKA-6728.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: