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/03/12 13:46:54 UTC

[GitHub] [pulsar] geomagilles opened a new issue #6527: Having a Key_Shared mode for functions

geomagilles opened a new issue #6527: Having a Key_Shared mode for functions
URL: https://github.com/apache/pulsar/issues/6527
 
 
   **Is your feature request related to a problem? Please describe.**
   As functions can manipulate states, race conditions may occur if functions processed in parallel want to update state for the same key. 
   
   **Describe the solution you'd like**
   having a Key_Shared mode for functions - similar to Key_Shared subscription mode for consumers  - would guarantee that 2 functions would not run in parallel for the same key
   
   **Describe alternatives you've considered**
   Another solution could be to have transactions enabled for states, but i'm not sure it's even possible.
   
   **Additional context**
   

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