public void setEstimatedCompressionRatio(float estimatedCompressionRatio) {
        this.estimatedCompressionRatio = estimatedCompressionRatio;
    }
Set the estimated compression ratio for the memory records builder.
clients/src/main/java/org/apache/kafka/common/record/MemoryRecordsBuilder.java