public Builder level(int level) {
            if (MAX_LEVEL < level || level < MIN_LEVEL) {
                throw new IllegalArgumentException("zstd doesn't support given compression level: " + level);
            }

            this.level = level;
            return this;
        }
Size of intermediate buffer which contains uncompressed data.
This size should be <= ZSTD_BLOCKSIZE_MAX
see: https://github.com/facebook/zstd/blob/189653a9c10c9f4224a5413a6d6a69dd01d7c3bd/lib/zstd.h#L854
clients/src/main/java/org/apache/kafka/common/compress/ZstdCompression.java