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/01/06 18:17:10 UTC

[GitHub] [pulsar] nicolo-paganin opened a new issue #6003: Pulsar Functions with shared jar

nicolo-paganin opened a new issue #6003: Pulsar Functions with shared jar
URL: https://github.com/apache/pulsar/issues/6003
 
 
   **Is your feature request related to a problem? Please describe.**
   In order to create a pulsar function you have to build a `fat jar` (or `nar`) and the submit the `jar` when you create the function. The jar is copied by default inside `pulsar/tmp/function_name`. Currently it is not possible to load a shared jar containing one or more functions to be used without loading the jar (something similar to what is happening loading the a `nar` containing pulsar IO Sources/Sinks inside che `connectors` folder).
   
   This could have the following benefits:
   
   - Function can be distributed with the installation and users can create functions from builtin `jars` / `nars` without having the `jar` / `nar` file
   - In case of multiple functions (with different functions names) using the same jar, the latter is not duplicated every time a new function is created 
   
   **Describe the solution you'd like**
   The possibility to create a new function loading the relative jar (if the function is not one of the builtin ones) or instantiate a new function using the buildin ones the are copied inside the `function` folder (like the connectors)
   
   

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

[GitHub] [pulsar] nicolo-paganin commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder

Posted by GitBox <gi...@apache.org>.
nicolo-paganin commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder
URL: https://github.com/apache/pulsar/issues/6003#issuecomment-571272878
 
 
   I found that this feature is part of [PIP 50](https://github.com/apache/pulsar/wiki/PIP-50%3A-Package-Management)

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

[GitHub] [pulsar] sijie commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder
URL: https://github.com/apache/pulsar/issues/6003#issuecomment-573297746
 
 
   @itaross I have included this task into the Pulsar release 2.6.0. If you have any features that would like to see in 2.6.0, please comment in #5819. We will prioritize those features.

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

[GitHub] [pulsar] jiazhai commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6003: Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder
URL: https://github.com/apache/pulsar/issues/6003#issuecomment-571924108
 
 
   thanks @nicolo-paganin ,right, this is part of the work in pip-50, which tries to manage the nars in a better way.

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