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/10/25 19:16:38 UTC

[GitHub] [pulsar] johnwagster opened a new pull request #5469: added deletion of state for Functions

johnwagster opened a new pull request #5469: added deletion of state for Functions
URL: https://github.com/apache/pulsar/pull/5469
 
 
   ### Motivation
   
   Adding support for state deletion for Functions.  Ran into a use-case where it would be nice to be able to let go of state wherein the key is changing but the data itself is ephemeral. 
   
   ### Modifications
   
   I've reflected the changes in the bookkeepr API back through in the context and state context API's so that you can delete on a put by passing null or call the new api for delete.
   
   ### Verifying this change
   
   This change added tests and can be verified as follows:
    - Running the unit tests available in the ContextImplTest and ContextStateImplTest
   
   ### Does this pull request potentially affect one of the following parts:
   
     - The public API: yes; added deletion to Function context and state context APIs
   
   ### Documentation
   
     - Does this pull request introduce a new feature? - yes
     - If yes, how is the feature documented? - JavaDocs
   

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