Github user StephanEwen commented on the pull request: https://github.com/apache/flink/pull/872#issuecomment-116528738 I actually like this approach. We had the same discussion for the batch API and resolved to this, because: - You can always chain a `FlatMapFunction` with a `partitionCustom()` request to solve all the above situations. - This interface allows easy Java8-lambda implementation and it works well with the type extraction. - It seems to cover the majority of cases more elegantly, as there is no need for array wrapping in the user code.
--- 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. ---