Table of Contents

Class CloudEventBatchOptions

Namespace
Excalibur.Dispatch.Options.CloudEvents
Assembly
Excalibur.Dispatch.dll

Options for configuring CloudEvent batches.

public sealed class CloudEventBatchOptions
Inheritance
CloudEventBatchOptions
Inherited Members
Extension Methods

Properties

InitialCapacity

Gets or sets the initial capacity for the batch.

[Range(1, 2147483647)]
public int InitialCapacity { get; set; }

Property Value

int

The initial number of elements reserved in the underlying storage.

MaxBatchSizeBytes

Gets or sets the maximum batch size in bytes.

[Range(1, 9.223372036854776E+18)]
public long MaxBatchSizeBytes { get; set; }

Property Value

long

The total payload size threshold for a batch, expressed in bytes.

MaxEvents

Gets or sets the maximum number of events per batch.

[Range(1, 2147483647)]
public int MaxEvents { get; set; }

Property Value

int

The maximum event count permitted within a single batch.