You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2018/05/23 02:12:00 UTC

[jira] [Commented] (KAFKA-6914) Kafka Connect - Plugins class should have a constructor that can take in parent ClassLoader

    [ https://issues.apache.org/jira/browse/KAFKA-6914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486603#comment-16486603 ] 

Ewen Cheslack-Postava commented on KAFKA-6914:
----------------------------------------------

[~sriramks85] Not sure I understand the use case here. Kafka Connect is it's own service and it then loads all the plugins. How would Spring Boot fit in here?

> Kafka Connect - Plugins class should have a constructor that can take in parent ClassLoader
> -------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-6914
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6914
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Sriram KS
>            Priority: Major
>             Fix For: 1.1.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)