THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
def appendMessages(...) { log.appendToLocalLog() ... val metric : Sensor = metrics.get(sensorName) try { metric.record(produceSize) } catch (QuotaViolationException ex) { val delayedProduce = new DelayedProduce(ex.getDelayTime(), ....) delayedProducePurgatory.tryCompleteElseWatch(delayedProduce, producerRequestKeys) } } def fetchMessages(...) { val metric : Sensor = metrics.get(sensorName) try { metric.record(fetchSize) } catch (QuotaViolationException ex) { val delayedFetch = new DelayedFetch(ex.getDelayTime(), ....) delayedFetchPurgatory.tryCompleteElseWatch(delayedFetch, fetchRequestKeys) } } |
...