Aracılığıyla paylaş


EventProcessorOptions.MaximumWaitTime Property

Definition

The maximum amount of time to wait for events to become available from a given partition before emitting an empty batch of events.

public TimeSpan? MaximumWaitTime { get; set; }
member this.MaximumWaitTime : Nullable<TimeSpan> with get, set
Public Property MaximumWaitTime As Nullable(Of TimeSpan)

Property Value

If null, the processor will wait indefinitely for a batch of events to become available and will not dispatch them to be processed while waiting; otherwise, a batch will always be emitted within this interval, whether or not it is empty.

The default wait time is null.

Exceptions

Occurs when the requested wait time is negative.

Applies to