pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jerrypeng edited a comment on issue #3576: Add support for multiple sinks/sources in a single NAR file.
Date Tue, 12 Feb 2019 07:17:19 GMT
jerrypeng edited a comment on issue #3576: Add support for multiple sinks/sources in a single
NAR file.
URL: https://github.com/apache/pulsar/issues/3576#issuecomment-462643980
 
 
   @david-streamlio after some thinking bundling multiple sources or sinks in NARs is problematic
for us to support.  Our current reasoning for using the NAR format for connectors is so that
users don't have to 1) upload anything (for built-in connectors) and 2) so that the user don't
have to specify a classpath.  If we were to bundle multiple sources or sinks in a single NAR,
the user has to now specify a classpath or some identifier which adds not only complexity
to our code but as well as user experience.  
   
   Bundling multiple sources and sinks into a NAR makes sense for built-in connectors, but
currently we also allow users to submit NARs from the CLI for source and sinks. Like I mentioned
before, having to support submitting NARs with multiple sources and sinks adds a lot more
additional complexity in the code as we must also support submitting NARs with single sources
and sinks. We will have to support NARs of two different formats. User's will also have to
uploaded a larger package than needed as the NAR with contain code and dependencies for other
sources an sinks.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message