[
https://issues.apache.org/jira/browse/FLINK-12078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-12078.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
master: d6be68670e661091d94a3c65a2704d52fc0e827c
> 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
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)