apoorvmittal10 opened a new pull request, #14618:
URL: https://github.com/apache/kafka/pull/14618

   The PR comprises of changes to include opentlemetry library as defined in 
KIP-714. The libraries are shadowed to prevent conflicts.
   
   ```
   jar -tf kafka-clients-3.7.0-SNAPSHOT.jar | grep google
   org/apache/kafka/shaded/com/google/
   org/apache/kafka/shaded/com/google/protobuf/
   org/apache/kafka/shaded/com/google/protobuf/AbstractMessage$Builder.class
   
org/apache/kafka/shaded/com/google/protobuf/AbstractMessage$BuilderParent.class
   org/apache/kafka/shaded/com/google/protobuf/AbstractMessage.class
   
org/apache/kafka/shaded/com/google/protobuf/AbstractMessageLite$Builder$LimitedInputStream.class
   org/apache/kafka/shaded/com/google/protobuf/AbstractMessageLite$Builder.class
   
org/apache/kafka/shaded/com/google/protobuf/AbstractMessageLite$InternalOneOfEnum.class
   .
   .
   ```
   
   ```
   jar -tf kafka-clients-3.7.0-SNAPSHOT.jar | grep opentelemetry
   org/apache/kafka/shaded/io/opentelemetry/
   org/apache/kafka/shaded/io/opentelemetry/proto/
   org/apache/kafka/shaded/io/opentelemetry/proto/resource/
   org/apache/kafka/shaded/io/opentelemetry/proto/resource/v1/
   
org/apache/kafka/shaded/io/opentelemetry/proto/resource/v1/ResourceProto.class
   org/apache/kafka/shaded/io/opentelemetry/proto/resource/v1/Resource$1.class
   
org/apache/kafka/shaded/io/opentelemetry/proto/resource/v1/Resource$Builder.class
   
org/apache/kafka/shaded/io/opentelemetry/proto/resource/v1/ResourceOrBuilder.class
   .
   .
   .
   ```
   
   
https://central.sonatype.com/artifact/org.apache.kafka/kafka-clients/3.6.0/overview
 details the 3.6.0 java client pom with runtime dependencies and current 
changes maintains that behaviour. Outputting the pom below:
   
   ```
   cat 
~/.m2/repository/org/apache/kafka/kafka-clients/3.7.0-SNAPSHOT/kafka-clients-3.7.0-SNAPSHOT.pom
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.kafka</groupId>
     <artifactId>kafka-clients</artifactId>
     <version>3.7.0-SNAPSHOT</version>
     <name>Apache Kafka</name>
     <url>https://kafka.apache.org</url>
     <licenses>
       <license>
         <name>The Apache License, Version 2.0</name>
         <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
         <distribution>repo</distribution>
       </license>
     </licenses>
     <dependencies>
       <dependency>
         <groupId>com.github.luben</groupId>
         <artifactId>zstd-jni</artifactId>
         <version>1.5.5-6</version>
         <scope>runtime</scope>
       </dependency>
       <dependency>
         <groupId>org.lz4</groupId>
         <artifactId>lz4-java</artifactId>
         <version>1.8.0</version>
         <scope>runtime</scope>
       </dependency>
       <dependency>
         <groupId>org.xerial.snappy</groupId>
         <artifactId>snappy-java</artifactId>
         <version>1.1.10.5</version>
         <scope>runtime</scope>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>1.7.36</version>
         <scope>runtime</scope>
       </dependency>
       <dependency>
         <groupId>io.opentelemetry.proto</groupId>
         <artifactId>opentelemetry-proto</artifactId>
         <version>1.0.0-alpha</version>
         <scope>runtime</scope>
       </dependency>
     </dependencies>
   </project>
   ```
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to