[
https://issues.apache.org/jira/browse/KAFKA-3512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228259#comment-15228259
]
ASF GitHub Bot commented on KAFKA-3512:
---------------------------------------
GitHub user enothereska opened a pull request:
https://github.com/apache/kafka/pull/1193
KAFKA-3512: Added foreach operator
@miguno @guozhangwang please have a look if you can.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/enothereska/kafka kafka-3512-ForEach
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1193.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 #1193
----
commit 8886a0c4680e91c29619852d7de08975a2d6c127
Author: Eno Thereska <[email protected]>
Date: 2016-04-06T13:39:11Z
Added foreach operator
----
> Add a foreach() operator in Kafka Streams DSL
> ---------------------------------------------
>
> Key: KAFKA-3512
> URL: https://issues.apache.org/jira/browse/KAFKA-3512
> Project: Kafka
> Issue Type: Bug
> Components: kafka streams
> Reporter: Guozhang Wang
> Assignee: Eno Thereska
> Fix For: 0.10.0.0
>
>
> This would be a more intuitive operator to replace the mis-usage of map():
> {code}
> map((k, v) -> process(k, v))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)