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

Refactor plugin discovery in Connect to offer a global index for plugins and transformations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.10.2.0
    • None
    • connect
    • None

    Description

      Currently PluginDiscovery returns a list of plugins and a list of transformations. Consequently, the code to match and discover plugins (connectors) is a bit scattered.

      This refactoring should target to index the plugins based on simple name, alias, or fully qualified name. This index should also be able to resolve conflicts between plugins with the same simple name or alias as well as tighten the checks with respect to URL validation (e.g. check that the requested plugin exists).

      Possibly a Map of plugins (and maybe for symmetry a Map of transformations) will be returned by the methods in PluginDiscovery instead of a List.

      This is a generalized fix related to the incremental fix implemented in: https://issues.apache.org/jira/browse/KAFKA-4837

      Attachments

        Issue Links

          Activity

            People

              kkonstantine Konstantine Karantasis
              kkonstantine Konstantine Karantasis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: