tillrohrmann commented on a change in pull request #8529:
[FLINK-12603][network] Remove getOwningTaskName method from InputGate
URL: https://github.com/apache/flink/pull/8529#discussion_r289855729
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OneInputStreamTask.java
##########
@@ -88,7 +88,8 @@ public void init() throws Exception {
getStreamStatusMaintainer(),
this.headOperator,
getEnvironment().getMetricGroup().getIOMetricGroup(),
- inputWatermarkGauge);
+ inputWatermarkGauge,
+
getEnvironment().getTaskInfo().getTaskNameWithSubtaskAndID());
Review comment:
Maybe we could use `getEnvironment().getExecutionId()` and
`getEnvironment().getTaskInfo().getTaskName()` to construct the
`getTaskNameWithSubtaskAndID()`. Then we don't have to touch `TaskInfo` at all.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services