Github user gyfora commented on the pull request: https://github.com/apache/flink/pull/870#issuecomment-115756972 There is nothing tricky there: In java every record in the stream passed to closewith() will be fed back. (And closeWith returns this stream). In scala its even clearer as the stepfunction returns 2 streams in a tuple. The first one is the feedback the second is the output. The methods are not the same but the functionality is equivalent.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---