[
https://issues.apache.org/jira/browse/FLINK-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605296#comment-14605296
]
ASF GitHub Bot commented on FLINK-2138:
---------------------------------------
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.
> PartitionCustom for streaming
> -----------------------------
>
> Key: FLINK-2138
> URL: https://issues.apache.org/jira/browse/FLINK-2138
> Project: Flink
> Issue Type: New Feature
> Components: Streaming
> Affects Versions: 0.9
> Reporter: Márton Balassi
> Assignee: Gábor Hermann
> Priority: Minor
>
> The batch API has support for custom partitioning, this should be added for
> streaming with a similar signature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)