You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/25 22:04:58 UTC

[jira] [Commented] (KAFKA-4346) Add foreachValue method to KStream

    [ https://issues.apache.org/jira/browse/KAFKA-4346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606611#comment-15606611 ] 

ASF GitHub Bot commented on KAFKA-4346:
---------------------------------------

GitHub user xvrl opened a pull request:

    https://github.com/apache/kafka/pull/2063

    KAFKA-4346: Add foreachValue method to KStream

    enables syntactic sugar using method references

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xvrl/kafka kstreams-foreachvalue

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2063.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 #2063
    
----
commit b84b61f8ca73e69342001f515efcdb39efd86387
Author: Xavier Léauté <xa...@confluent.io>
Date:   2016-10-25T21:59:31Z

    KAFKA-4346 Add foreachValue method to KStream
    
    enables syntactic sugar using method references

----


> Add foreachValue method to KStream
> ----------------------------------
>
>                 Key: KAFKA-4346
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4346
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Xavier Léauté
>            Assignee: Guozhang Wang
>            Priority: Minor
>
> This would be the value-only counterpart to foreach, similar to mapValues.
> Adding this method would enhance readability and allow for Java 8 syntactic sugar using method references without having to wrap existing methods that only operate on the value type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)