You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2018/11/05 09:37:00 UTC

[jira] [Created] (FLINK-10790) Refactor all the StreamPartitioner implementations into runtime module

zhijiang created FLINK-10790:
--------------------------------

             Summary: 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


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)