You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Damian Guy (JIRA)" <ji...@apache.org> on 2017/07/28 08:04:00 UTC

[jira] [Created] (KAFKA-5672) Move measureLatencyNs from StreamsMetricsImpl to StreamsMetrics

Damian Guy created KAFKA-5672:
---------------------------------

             Summary: Move measureLatencyNs from StreamsMetricsImpl to StreamsMetrics 
                 Key: KAFKA-5672
                 URL: https://issues.apache.org/jira/browse/KAFKA-5672
             Project: Kafka
          Issue Type: Bug
            Reporter: Damian Guy


StreamsMetricsImpl currently has the method {{measureLatencyNs}} but it is not on {{StreamsMetrics} - this should be moved to the interface so we can stop depending on the impl. Further, the {{Runnable}} argument passed to {{measureLatencyNs}} should be changed to some functional interface that can also return a value.

As this is a public API change it will require a KIP



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)