public static StreamsMetricsImpl getMetricsImpl(final StateStoreContext context) {
        return (StreamsMetricsImpl) context.metrics();
    }
Should be removed as part of KAFKA-10217
streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorContextUtils.java