Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14800

Upgrade snappy-java Version to 1.1.9.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 3.4.1, 3.3.3
    • 3.5.0
    • clients
    • None
    • ARM

    Description

      The current kafka-clients latest released versions depend on snappy-java 1.1.8.4. This particular version is affected by bug 302, which causes problems when using the OSGI  bundle on ARM based architectures. The bug itself has been fixed in version 1.1.9.0, could the kafka-clients bundle be updated to transitively include the fixed version of snappy-java?.

      Example build.gradle file:

      plugins {
          id 'java'
      }
      
      group 'org.example'
      version '1.0.0SNAPSHOT'
      
      repositories {
          mavenCentral()
      }
      
      dependencies {
          implementation 'org.apache.kafka:kafka-clients:3.3.2'
      }
      

       

      Dependency Insight:

      ./gradlew -q dependencyInsight --dependency snappy-java --configuration runtimeClasspath
      org.xerial.snappy:snappy-java:1.1.8.4
        Variant runtime:
          | Attribute Name                 | Provided     | Requested    |
          |--------------------------------|--------------|--------------|
          | org.gradle.status              | release      |              |
          | org.gradle.category            | library      | library      |
          | org.gradle.libraryelements     | jar          | jar          |
          | org.gradle.usage               | java-runtime | java-runtime |
          | org.gradle.dependency.bundling |              | external     |
          | org.gradle.jvm.environment     |              | standard-jvm |
          | org.gradle.jvm.version         |              | 11           |
      
      org.xerial.snappy:snappy-java:1.1.8.4
      \--- org.apache.kafka:kafka-clients:3.3.2
           \--- runtimeClasspath
      
      
      

      Attachments

        Issue Links

          Activity

            People

              jjramos Juan Ramos
              jjramos Juan Ramos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: