@s2-dev/streamstore - v0.22.0
    Preparing search index...

    Interface BatchTransformOptions

    interface BatchTransformOptions {
        fencingToken?: string;
        lingerDurationMillis?: number;
        matchSeqNum?: number;
        maxBatchBytes?: number;
        maxBatchRecords?: number;
    }
    Index

    Properties

    fencingToken?: string

    Optional fencing token to enforce (remains static across batches)

    lingerDurationMillis?: number

    Duration in milliseconds to wait before flushing a batch (default: 5ms)

    matchSeqNum?: number

    Optional sequence number to match for first batch (auto-increments for subsequent batches)

    maxBatchBytes?: number

    Maximum batch size in metered bytes (default: 1 MiB, max: 1 MiB)

    maxBatchRecords?: number

    Maximum number of records in a batch (default: 1000, max: 1000)