Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-4931

Productized kafka-clients jar has less classes than community version

XMLWordPrintable

    • 0
    • False
    • None
    • False
    • ---
    • Quarkus Prod - Week 41

      Productized kafka-clients have less classes than community version

      This was noticed because Marete reported kafka-clients-3.7.0.redhat-00007 as unexpected composed/shaded JAR so I did deeper investigation

      unzip -l org/apache/kafka/kafka-clients/3.7.0.redhat-00007/kafka-clients-3.7.0.redhat-00007.jar | grep class$ | wc -l
      unzip -l ~/Downloads/kafka-clients-3.7.0.jar | grep class$ | wc -l
      
          3431
          3470
       

      This can be the case that productized jar has more changes in -redhat-00007 rebuild than the community counterpart. But missing shaded classes can have some side effects, thus marking as Critical.

      Diff generated using

      unzip -l ~/Downloads/kafka-clients-3.7.0.jar | grep class$ | awk '{print $4}' | sort > kafka-clients-community.txt
      unzip -l org/apache/kafka/kafka-clients/3.7.0.redhat-00007/kafka-clients-3.7.0.redhat-00007.jar | grep class$ | awk '{print $4}' | sort > kafka-clients-product.txt
      
      diff kafka-clients-community.txt kafka-clients-product.txt
      

      Diff:

      26c26
      < org/apache/kafka/clients/MetadataCache.class
      ---
      > org/apache/kafka/clients/MetadataSnapshot.class
      
      3248,3260d3247
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$1.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$2.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$3.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$AsyncService.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceBaseDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceBlockingStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceFileDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceFutureStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceImplBase.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceMethodDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$LogsServiceStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc$MethodHandlers.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/logs/v1/LogsServiceGrpc.class
      
      3274,3286d3260
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$1.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$2.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$3.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$AsyncService.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MethodHandlers.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceBaseDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceBlockingStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceFileDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceFutureStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceImplBase.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceMethodDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc$MetricsServiceStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/metrics/v1/MetricsServiceGrpc.class
      
      3300,3312d3273
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$1.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$2.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$3.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$AsyncService.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$MethodHandlers.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceBaseDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceBlockingStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceFileDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceFutureStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceImplBase.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceMethodDescriptorSupplier.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc$TraceServiceStub.class
      < org/apache/kafka/shaded/io/opentelemetry/proto/collector/trace/v1/TraceServiceGrpc.class
      

              ant@redhat.com Ant Stephenson
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: