@Override
  public boolean requireMatchingBufferType() {
    return true;
  }
Some compression algorithms like ZStd are picky on the source and destination buffer types.
In Zstd, either both buffers are Heap or both are Direct memory.
ambry-commons/src/main/java/com/github/ambry/compression/ZstdCompression.java