Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5977#discussion_r188221002
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java
 ---
    @@ -71,6 +71,17 @@
        @PublicEvolving
        MetricGroup getMetricGroup();
     
    +   /**
    +    * Returned value is guaranteed to be unique between operators within 
the same job and to be
    +    * stable and the same across job submissions.
    +    *
    +    * <p>This operation is currently only supported in Streaming 
(DataStream) contexts.
    +    *
    +    * @return String representation of the operator's unique id.
    +    */
    +   @PublicEvolving
    +   String getOperatorUniqueID();
    --- End diff --
    
    Different point here, I think we would usually like to return `OperatorID` 
here and not string, but it is probably in a wrong module. When moving 
`OperatorID` seems to much, I would suggest to call the method something like 
`getOperatorIDAsString` to make this a bit more explicit.


---

Reply via email to