ngjaying commented on issue #2900: NoClassDefFoundError error happens when 
running custom source connector on cluster
URL: https://github.com/apache/pulsar/issues/2900#issuecomment-441543176
 
 
   I finally find out the cause of this problem. My source class implements 
MqttCallback.
   `public class MySource extends PushSource<String>  implements MqttCallback`
   For some reason, the pulsar classloader cannot find this interface although 
it is included in the nar. I fix this by not implementing MqttCallback for my 
source class.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to