Sdílet prostřednictvím


EventHubOptions.MinEventBatchSize Property

Definition

Gets or sets the minimum number of events desired for a batch. This setting applies only to functions that receive multiple events. This value must be less than MaxEventBatchSize and is used in conjunction with MaxWaitTime. Default 1.

public int MinEventBatchSize { get; set; }
member this.MinEventBatchSize : int with get, set
Public Property MinEventBatchSize As Integer

Property Value

Remarks

The minimum size is not a strict guarantee, as a partial batch will be dispatched if a full batch cannot be prepared before the MaxWaitTime has elapsed. Partial batches are also likely for the first invocation of the function after scaling takes place.

Applies to