jerrypeng commented on pull request #9638:
URL: https://github.com/apache/pulsar/pull/9638#issuecomment-790892094


   @lhotari thanks for filling the issue. 
   
   > However that doesn't resolve the problem that Pulsar users have.
   
   Why do we have to package all the connectors into one image even for users?  
I doubt a user will need to use all connectors Pulsar has to offer.  Perhaps we 
can have a strategy in which a user can choose which connectors, he or she as 
actually needs and that gets baked into the image.  And for users that just 
want to use pub sub, I think there is already an image that doesn't contain any 
connectors.
   
   > Isn't there a simple solution to get rid of the unnecessary jar files in 
the .nar files?
   
   The thing is NARs are suppose to be self contained which means all the 
transitive dependencies of the connector needs to be packaged in it as well.  
There are advantages to this as I mentioned before, however the downside is 
will duplicate dependencies across all connectors. However, this allows 
connectors evolve in a more of a vacuum than be dependent versions of libraries 
used by other connectors or pulsar.


----------------------------------------------------------------
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]


Reply via email to