[ https://issues.apache.org/jira/browse/KAFKA-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180249#comment-17180249 ]
Konstantine Karantasis commented on KAFKA-9708: ----------------------------------------------- The PR was closed with a note that this was fixed by: [https://github.com/apache/kafka/pull/8069] and as part of https://issues.apache.org/jira/browse/KAFKA-9374 Closing this issue as fixed. > Connector does not prefer to use packaged classes during configuration > ---------------------------------------------------------------------- > > Key: KAFKA-9708 > URL: https://issues.apache.org/jira/browse/KAFKA-9708 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Reporter: Greg Harris > Assignee: Greg Harris > Priority: Major > > In connector tasks, classes loaded during configuration are preferentially > loaded from the PluginClassLoader since KAFKA-8819 was implemented. This same > prioritization is not currently respected in the connector itself, where the > delegating classloader is used as the context classloader. This leads to the > possibility for different versions of converters to be loaded, or different > versions of dependencies to be found when executing code in the connector vs > task. > Worker::startConnector should be changed to follow the startTask / KAFKA-8819 > prioritization scheme, by activating the PluginClassLoader earlier. -- This message was sent by Atlassian Jira (v8.3.4#803005)