public void record(double value) {
        if (shouldRecord()) {
            recordInternal(value, time.milliseconds(), true);
        }
    }
Record a value with this sensor
@param value The value to record
@throws QuotaViolationException if recording this value moves a metric beyond its configured maximum or minimum
        bound
clients/src/main/java/org/apache/kafka/common/metrics/Sensor.java