private void enforceMaxUploadSize() throws RouterException {
    if (bytesFilledSoFar > options.getMaxUploadSize()) {
      throw new RouterException("Blob is larger than max upload size argument: " + options.getMaxUploadSize(),
          RouterErrorCode.BlobTooLarge);
    }
  }
Enforce that the bytes filled so far is less than or equal to the max blob size in the {@link PutBlobOptions}.
@throws RouterException
ambry-router/src/main/java/com/github/ambry/router/PutOperation.java