[ https://issues.apache.org/jira/browse/KAFKA-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantine Karantasis updated KAFKA-5012: ------------------------------------------ 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 was: 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 refactor 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. Possibly a Map of plugins (and maybe for symmetry transformations) will be returned by the methods in {{PluginDiscovery}} This is a generalized fix related to the incremental fix implemented in: https://issues.apache.org/jira/browse/KAFKA-4837 > Refactor plugin discovery in Connect to offer a global index for plugins and > transformations > -------------------------------------------------------------------------------------------- > > Key: KAFKA-5012 > URL: https://issues.apache.org/jira/browse/KAFKA-5012 > Project: Kafka > Issue Type: Improvement > Components: KafkaConnect > Affects Versions: 0.10.2.0 > Reporter: Konstantine Karantasis > Assignee: Konstantine Karantasis > Priority: Minor > > 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 -- This message was sent by Atlassian JIRA (v6.3.15#6346)