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

zhijiang commented on FLINK-10790:
----------------------------------

[~pnowojski], do you think it makes sense for unifying the {{ChannelSelector}} 
implementations for stream and batch jobs?

> Refactor all the StreamPartitioner implementations into runtime module
> ----------------------------------------------------------------------
>
>                 Key: FLINK-10790
>                 URL: https://issues.apache.org/jira/browse/FLINK-10790
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Network
>    Affects Versions: 1.8.0
>            Reporter: zhijiang
>            Assignee: zhijiang
>            Priority: Minor
>
> The motivation is for refactoring {{ChannelSelector}} interface mentioned inĀ 
> [FLINK-10662|https://issues.apache.org/jira/browse/FLINK-10662].
> The {{ChannelSelector}} implementations are separate for stream and batch 
> currently, resulting in many duplicated logics for selecting channels. The 
> root cause is that they are locating in different modules to not reuse the 
> existing ones.
> In general, the core runtime codes should be unified for both stream and 
> batch jobs as much as possible, then we can reduce the work overhead to 
> maintain the duplicated codes.
> ThisĀ jira would migrate the existing partitioner package from 
> {{flink-streaming-jave}} to {{flink-runtime}}. Next we want to de-duplicate 
> implementations for {{RoundRobinChannelSelector}} and {{OutputEmitter}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to