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)