private void processQuotaRejectedResponse(int correlationId, ReplicaId replicaId) {
      logger.debug("{}: PutRequest with response correlationId {} was rejected because quota was exceeded.",
          loggingContext, correlationId);
      setChunkException(new RouterException("QuotaExceeded", RouterErrorCode.TooManyRequests));
      onErrorResponse(replicaId, TrackedRequestFinalState.FAILURE, false);
      checkAndMaybeComplete();
    }
Process response if it was rejected due to quota compliance.
@param correlationId correlation id of the request.
@param replicaId {@link ReplicaId} of the request.
ambry-router/src/main/java/com/github/ambry/router/PutOperation.java