public int getCompressBufferSize(int sourceDataSize) {
    return VERSION_AND_NAME_LENGTH_AND_ORIGINAL_SIZE_SIZE + getAlgorithmNameBinary().length
        + estimateMaxCompressedDataSize(sourceDataSize);
  }
Given the source data size, what is the maximum compressed buffer size?
The max buffer size must sufficient to hold the compressed data structure.
This is an estimate calculation it is usually slightly larger than the sourceDataSize.

@param sourceDataSize The source data size.
@return The estimated buffer size required to hold the compressed data.
ambry-commons/src/main/java/com/github/ambry/compression/BaseCompression.java