Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-4178

OSGi bundle for kafka-clients doesn't import com.github.luben.zstd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • bundles-2019.08
    • bundles-2019.09
    • bundles
    • None

    Description

      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

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            henrik.lundahl Henrik Lundahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: