Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to