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

    https://github.com/apache/flink/pull/5501#discussion_r173150593
  
    --- Diff: 
flink-scala/src/main/scala/org/apache/flink/api/scala/metrics/ScalaGauge.scala 
---
    @@ -23,6 +23,7 @@ import org.apache.flink.metrics.Gauge
     /**
       * This class allows the concise definition of a gauge from Scala using 
function references.
       */
    +@deprecated("use NumberGauge or StringGauge instead")
    --- End diff --
    
    Would be good to add a `ScalaStringGauge` and a `ScalaNumericGauge`.


---

Reply via email to