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 2022/08/15 14:05:48 UTC

[GitHub] [pulsar] cbornet opened a new pull request, #17102: [feature][functions] Add HTTP API and CLI to reload built-in functions

cbornet opened a new pull request, #17102:
URL: https://github.com/apache/pulsar/pull/17102

   <!--
   ### Contribution Checklist
     
     - PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://docs.google.com/document/d/1d8Pw6ZbWk-_pCKdOmdvx9rnhPiyuxwq60_TrD68d7BA/edit#heading=h.trs9rsex3xom)*. 
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   ### Motivation
   
   After adding a nar to the `functions` directory, it is handy to be able to reload the built-in functions in the broker or function worker.
   This is the same as `pulsar-admin sinks/sources reload` but for functions.
   
   ### Modifications
   
   * Add HTTP endpoint to reload functions.
   * Add Java PulsarAdmin method to reload functions.
   * Add CLI command to reload functions.
   
   ### Does this pull request potentially affect one of the following parts:
   
   yes
   
   *If `yes` was chosen, please highlight the changes*
   
     - The public API: yes
     - The rest endpoints: yes
     - The admin cli options: yes
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   the doc is autogenerated
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] cbornet commented on pull request #17102: [feature][functions] Add HTTP API and CLI to reload built-in functions

Posted by GitBox <gi...@apache.org>.
cbornet commented on PR #17102:
URL: https://github.com/apache/pulsar/pull/17102#issuecomment-1218252556

   I changed the location of the endpoint from /worker to /functions for more consistency. PTAL.


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] cbornet commented on pull request #17102: [feature][functions] Add HTTP API and CLI to reload built-in functions

Posted by GitBox <gi...@apache.org>.
cbornet commented on PR #17102:
URL: https://github.com/apache/pulsar/pull/17102#issuecomment-1219290908

   /pulsar-bot rerun-failure-checks


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] eolivelli merged pull request #17102: [feature][functions] Add HTTP API and CLI to reload built-in functions

Posted by GitBox <gi...@apache.org>.
eolivelli merged PR #17102:
URL: https://github.com/apache/pulsar/pull/17102


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] cbornet commented on pull request #17102: [feature][functions] Add HTTP API and CLI to reload built-in functions

Posted by GitBox <gi...@apache.org>.
cbornet commented on PR #17102:
URL: https://github.com/apache/pulsar/pull/17102#issuecomment-1217968274

   /pulsar-bot rerun-failure-checks


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org