public static void releaseNettyBufUnderneathStream(DataInputStream stream) {
    if (stream instanceof NettyByteBufDataInputStream) {
      // if the InputStream is NettyByteBufDataInputStream based, it's time to release its buffer.
      ((NettyByteBufDataInputStream) stream).getBuffer().release();
    }
  }
Create {@code blobCount} number of {@link BlobId}s.
@param blobCount number of {@link BlobId}s to create.
@return list of {@link BlobId}s
ambry-test-utils/src/main/java/com/github/ambry/server/ServerTestUtil.java