You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Shawyeok (via GitHub)" <gi...@apache.org> on 2024/04/06 04:53:31 UTC

Re: [I] [Bug] Version conflicts with the protobuf inside the pulsar client [pulsar]

Shawyeok commented on issue #22263:
URL: https://github.com/apache/pulsar/issues/22263#issuecomment-2040965946

   From 3.0.0, `com.google.protobuf:protobuf-java` is included directly in `pulsar-client-admin` without relocation.
   
   In my understanding, `pulsar-client-admin` is a java wrapper for pulsar RESTful api. What does `protobuf-java` in pulsar-client-admin used for?
   
   ```
   ~ download() {
     version=$1
     wget https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-admin/${version}/pulsar-client-admin-${version}.jar
     unzip -tl pulsar-client-admin-${version}.jar | awk 'gsub(/\//,"/") < 3'
   }
   
   ~ download 3.0.0
   --2024-04-06 12:31:10--  https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-admin/3.0.0/pulsar-client-admin-3.0.0.jar
   Connecting to 127.0.0.1:6152... connected.
   Proxy request sent, awaiting response... 200 OK
   Length: 25830684 (25M) [application/java-archive]
   Saving to: ‘pulsar-client-admin-3.0.0.jar’
   
   pulsar-client-admin-3.0.0.jar                           100%[=============================================================================================================================>]  24.63M  7.83MB/s    in 3.3s
   
   2024-04-06 12:31:15 (7.38 MB/s) - ‘pulsar-client-admin-3.0.0.jar’ saved [25830684/25830684]
   
   Archive:  pulsar-client-admin-3.0.0.jar
       testing: META-INF/                OK
       testing: META-INF/MANIFEST.MF     OK
       testing: META-INF/DEPENDENCIES    OK
       testing: META-INF/LICENSE         OK
       testing: META-INF/NOTICE          OK
       testing: org/                     OK
       testing: org/apache/              OK
       testing: META-INF/maven/          OK
       testing: findbugsExclude.xml      OK
       testing: io/                      OK
       testing: io/airlift/              OK
       testing: META-INF/services/       OK
       testing: META-INF/versions/       OK
       testing: META-INF/io.netty.versions.properties   OK
       testing: META-INF/native/         OK
       testing: META-INF/native-image/   OK
       testing: META-INF/native/libnetty_resolver_dns_native_macos_aarch_64.jnilib   OK
       testing: META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib   OK
       testing: META-INF/LICENSE.md      OK
       testing: META-INF/NOTICE.md       OK
       testing: META-INF/NOTICE.markdown   OK
       testing: META-INF/LICENSE.txt     OK
       testing: META-INF/NOTICE.txt      OK
       testing: lib/                     OK
       testing: lib/libcpu-affinity.so   OK
       testing: META-INF/nar/            OK
       testing: META-INF/native/libnetty_transport_native_io_uring_x86_64.so   OK
       testing: META-INF/native/libnetty_transport_native_io_uring_aarch_64.so   OK
       testing: com/                     OK
       testing: com/google/              OK
       testing: google/                  OK
       testing: google/protobuf/         OK
       testing: google/protobuf/any.proto   OK
       testing: google/protobuf/api.proto   OK
       testing: google/protobuf/descriptor.proto   OK
       testing: google/protobuf/duration.proto   OK
       testing: google/protobuf/empty.proto   OK
       testing: google/protobuf/field_mask.proto   OK
       testing: google/protobuf/source_context.proto   OK
       testing: google/protobuf/struct.proto   OK
       testing: google/protobuf/timestamp.proto   OK
       testing: google/protobuf/type.proto   OK
       testing: google/protobuf/wrappers.proto   OK
       testing: META-INF/native/libnetty_transport_native_epoll_x86_64.so   OK
       testing: META-INF/license/        OK
       testing: META-INF/license/LICENSE.aix-netbsd.txt   OK
       testing: META-INF/license/LICENSE.boringssl.txt   OK
       testing: META-INF/license/LICENSE.mvn-wrapper.txt   OK
       testing: META-INF/license/LICENSE.tomcat-native.txt   OK
       testing: META-INF/native/libnetty_tcnative_linux_x86_64.so   OK
       testing: META-INF/native/libnetty_tcnative_linux_aarch_64.so   OK
       testing: META-INF/native/libnetty_tcnative_osx_x86_64.jnilib   OK
       testing: META-INF/native/libnetty_tcnative_osx_aarch_64.jnilib   OK
       testing: META-INF/native/netty_tcnative_windows_x86_64.dll   OK
       testing: lib/libcirce-checksum.so   OK
       testing: com/scurrilous/          OK
       testing: digesterRules.xml        OK
       testing: properties.dtd           OK
       testing: PropertyList-1.0.dtd     OK
       testing: META-INF/services/org.apache.pulsar.shade.com.fasterxml.jackson.databind.Module   OK
       testing: META-INF/services/org.apache.pulsar.shade.org.glassfish.jersey.internal.inject.InjectionManagerFactory   OK
       testing: META-INF/services/org.apache.pulsar.shade.com.fasterxml.jackson.core.ObjectCodec   OK
       testing: META-INF/services/org.apache.pulsar.shade.org.glassfish.hk2.extension.ServiceLocatorGenerator   OK
       testing: META-INF/services/org.apache.pulsar.shade.javax.ws.rs.ext.MessageBodyWriter   OK
       testing: META-INF/services/org.apache.pulsar.shade.org.glassfish.jersey.internal.spi.AutoDiscoverable   OK
       testing: META-INF/services/com.scurrilous.circe.HashProvider   OK
       testing: META-INF/services/org.apache.pulsar.shade.javax.ws.rs.ext.MessageBodyReader   OK
       testing: META-INF/services/org.apache.pulsar.shade.com.fasterxml.jackson.core.JsonFactory   OK
       testing: META-INF/services/reactor.blockhound.integration.BlockHoundIntegration   OK
   No errors detected in compressed data of pulsar-client-admin-3.0.0.jar.
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

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