Skip to content

Add the SegmentSize configuration #105

@Gsantomaggio

Description

@Gsantomaggio

Add the maxSegmentSizeBytes configuration when creating a stream.
It has to be in public record StreamSpec record.

See the java client as ref:

environment.streamCreator().stream("mystream-r").
                maxSegmentSizeBytes(ByteCapacity.MB(500)).create();

except to have:

await system.CreateStream(new StreamSpec(stream)
        {
            MaxSegmentSizeBytes = xxxxxxxxx
        });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions