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)

Reply via email to