zhijiang created FLINK-12213: -------------------------------- Summary: Pass TaskManagerMetricGroup into constructor of NetworkEnvironment Key: FLINK-12213 URL: https://issues.apache.org/jira/browse/FLINK-12213 Project: Flink Issue Type: Sub-task Components: Runtime / Network Reporter: zhijiang Assignee: zhijiang Fix For: 1.9.0
At the moment {{NetworkEnvironment#getNetworkBufferPool}} is called to add network related {{MetricGroup}}. In order to simplify the public API in {{NetworkEnvironment}} which is regarded as default {{ShuffleService}} implementation, we could pass the {{TaskManagerMetricGroup}} into constructor of {{NetworkEnvironment}}, then the related network {{MetricGroup}} could be added internally. -- This message was sent by Atlassian JIRA (v7.6.3#76005)