public void before(WalWriteRequest request) {
            try {
                Queue<WalWriteRequest> streamRequests = stream2requests.computeIfAbsent(request.record.getStreamId(),
                    s -> new ConcurrentLinkedQueue<>());
                streamRequests.add(request);
            } catch (Throwable ex) {
                request.cf.completeExceptionally(ex);
            }
        }
Add request to stream sequence queue.
When the {@code request.record.getStreamId()} is different, concurrent calls are allowed.
When the {@code request.record.getStreamId()} is the same, concurrent calls are not allowed. And it is
necessary to ensure that calls are made in the order of increasing offsets.
s3stream/src/main/java/com/automq/stream/s3/S3Storage.java