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/03/28 11:04:06 UTC

[GitHub] [pulsar] laurent-chriqui opened a new issue #3926: Add option to delete counter in python functions state

laurent-chriqui opened a new issue #3926: Add option to delete counter in python functions state
URL: https://github.com/apache/pulsar/issues/3926
 
 
   **Is your feature request related to a problem? Please describe.**
   It is possible to create a counter in a python pulsar functions using functions state and to retrieve it but there is no way to delete the counter. I am worried that with time these counters may add up to quite a considerable amount.
   
   **Describe the solution you'd like**
   I propose to expose the method delete_str of the tables in the state_context and the functions context to allow for such deletion.
   
   **Describe alternatives you've considered**
   Alternative is to access the tables through hidden attributes of context object but it is not reliable as they may change.
   
   **Additional context**
   I will propose a quick PR for this feature request

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