[ https://issues.apache.org/jira/browse/KAFKA-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146684#comment-15146684 ]
ASF GitHub Bot commented on KAFKA-3133: --------------------------------------- GitHub user kichristensen opened a pull request: https://github.com/apache/kafka/pull/912 KAFKA-3133: Add putIfAbsent function to KeyValueStore @guozhangwang You can merge this pull request into a Git repository by running: $ git pull https://github.com/kichristensen/kafka KAFKA-3133 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/912.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #912 ---- commit db38597a9b14c6a9acd2f1f952b2a6b12bf4f3c8 Author: Kim Christensen <k...@mvno.dk> Date: 2016-02-14T18:38:30Z Add putIfAbsent function to KeyValueStore ---- > Add putIfAbsent function to KeyValueStore > ----------------------------------------- > > Key: KAFKA-3133 > URL: https://issues.apache.org/jira/browse/KAFKA-3133 > Project: Kafka > Issue Type: Sub-task > Reporter: Guozhang Wang > > Since a local store will only be accessed by a single stream thread, there is > no atomicity concerns and hence this API should be easy to add. -- This message was sent by Atlassian JIRA (v6.3.4#6332)