jerrypeng commented on issue #6484: pulsar-client-admin-2.5.0.jar contains an 
unshaded protobuf dependency
URL: https://github.com/apache/pulsar/issues/6484#issuecomment-600413743
 
 
   I think the reason was because is to support ProtobufSchema correctly.  If a 
user gives the client and generated Protobuf object, the client needs to have 
Protobuf classes at the same classpath as the user given Protobuf Object.  If 
we use provides a protobuf object to the client but the included protobuf 
dependencies are all shaded, then there will be "NoClassDefError"s thrown as 
none of the internal protobuf class with be at the expected classpath.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to