public boolean put(StreamRecordBatch recordBatch) {
            map.compute(recordBatch.getStreamId(), (id, cache) -> {
                if (cache == null) {
                    cache = new StreamCache();
                }
                cache.add(recordBatch);
                return cache;
            });
            size.addAndGet(recordBatch.occupiedSize());
            return isFull();
        }
Merge the right block to the left block
s3stream/src/main/java/com/automq/stream/s3/cache/LogCache.java