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 2019/11/04 19:00:10 UTC

[GitHub] [pulsar] johnwagster opened a new pull request #5559: added deletion of state for Functions as part of the admin REST API

johnwagster opened a new pull request #5559: added deletion of state for Functions as part of the admin REST API
URL: https://github.com/apache/pulsar/pull/5559
 
 
   ### Motivation
   
   Have a use-case where deletion of state while running a Function is helpful as there is a lot of state being managed but it is all ephemeral.  This is building out functionality in the REST API that helps you iterate while doing dev to also do state deletion while building up a Function.
   
   ### Modifications
   
   added deletion to the REST API and admin cli
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change is already covered by existing tests and this change added tests and can be verified as follows:
     - added a new test ComponentImplTest to help unit test and verify state management API's 
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - The rest endpoints: added a delete state rest endpoint for functions
     - The admin cli options: added a delete state cli command for functions
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   

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