You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Henrik Lundahl (Jira)" <ji...@apache.org> on 2019/09/16 19:30:00 UTC

[jira] [Created] (SM-4178) OSGi bundle for kafka-clients doesn't import com.github.luben.zstd

Henrik Lundahl created SM-4178:
----------------------------------

             Summary: OSGi bundle for kafka-clients doesn't import com.github.luben.zstd
                 Key: SM-4178
                 URL: https://issues.apache.org/jira/browse/SM-4178
             Project: ServiceMix
          Issue Type: Bug
          Components: bundles
    Affects Versions: bundles-2019.08
            Reporter: Henrik Lundahl


This happens when trying to use zstd as compression method. com.github.luben:zstd-jni:1.4.0-1 is a dependency of kafka-clients, but com.github.luben.zstd is not listed as an optionally imported package.

Caused by: java.lang.ClassNotFoundException: com.github.luben.zstd.ZstdInputStream not found by org.apache.servicemix.bundles.kafka-clients [54]Caused by: java.lang.ClassNotFoundException: com.github.luben.zstd.ZstdInputStream not found by org.apache.servicemix.bundles.kafka-clients [54] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.apache.kafka.common.record.CompressionType.findConstructor(CompressionType.java:226) ... 24 common frames omitted



--
This message was sent by Atlassian Jira
(v8.3.2#803003)