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/12/02 17:34:02 UTC

[GitHub] [pulsar] flowchartsman opened a new issue #8795: [Pulsar Functions] Support URL fetching for Go functions

flowchartsman opened a new issue #8795:
URL: https://github.com/apache/pulsar/issues/8795


   Both `pulsar-admin` and `pulsarctl` support instructing the API to fetch a jar for a pulsar function from a URL. 
   
   **`pulsar-admin`**
   ```
       --jar
          Path to the JAR file for the function (if the function is written in
          Java). It also supports URL path [http/https/file (file protocol assumes that
          file already exists on worker host)] from which worker can download the
          package.
   ```
   
   **`pulsarctl`**
   ```
       #Create a Pulsar Function in cluster mode with pkg URL
       pulsarctl functions create
           --tenant public
           --namespace default
           --name (the name of Pulsar Functions)
           --inputs test-input-topic
           --output persistent://public/default/test-output-topic
           --classname org.apache.pulsar.functions.api.examples.ExclamationFunction
           --jar file:/http: + /examples/api-examples.jar
   ```
   
   This is very handy for functions which share code, since an endpoint can be set up locally to provide fast access to deploying these functions. Since Go functions are single binaries, this feature would work very well for them as well.


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



[GitHub] [pulsar] wolfstudy commented on issue #8795: [Pulsar Functions] Support URL fetching for Go functions

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #8795:
URL: https://github.com/apache/pulsar/issues/8795#issuecomment-739604919


   The issue will be supported in #8808, so close this issue.


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



[GitHub] [pulsar] wolfstudy closed issue #8795: [Pulsar Functions] Support URL fetching for Go functions

Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #8795:
URL: https://github.com/apache/pulsar/issues/8795


   


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