[
https://issues.apache.org/jira/browse/FLINK-12078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-12078:
-----------------------------------
Labels: pull-request-available (was: )
> Abstract TaskEventPublisher interface for simplifying 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)