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 2019/04/01 11:25:00 UTC

[jira] [Created] (FLINK-12078) Abstract TaskEventPublisher interface for simplify NetworkEnvironment

zhijiang created FLINK-12078:
--------------------------------

             Summary: Abstract TaskEventPublisher interface for simplify NetworkEnvironment
                 Key: FLINK-12078
                 URL: https://issues.apache.org/jira/browse/FLINK-12078
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Network
            Reporter: zhijiang
            Assignee: zhijiang


Currently {{TaskEventDispatcher}} is maintained in {{NetworkEnvironment}} for register/unregister partition and used for {{NettyConnectionManager}}. In order for further decoupling {{Task}} with {{NetworkEnvironment}}, we introduce {{TaskEventPublisher}} interface for providing {{publish}} method only. Then the {{NetworkEnvironment}} could maintain {{TaskEventPublisher}} and the {{register/unregister}} would be removed outside to be handled by {{Task}} directly.

To do so, the {{NetworkEnvironment#unregisterTask}} would be removed finally and the {{partition/gate#close}} could be instead.

 



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