You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/03/18 04:05:46 UTC

[GitHub] [pulsar] jerrypeng edited a comment on issue #6484: pulsar-client-admin-2.5.0.jar contains an unshaded protobuf dependency

jerrypeng edited a comment 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 to support ProtobufSchema correctly in PulsarClient.  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:
users@infra.apache.org


With regards,
Apache Git Services