Share via


EventProcessorOptions.DefaultOptions Property

Definition

Returns an EventProcessorOptions instance with all options set to the default values. The default values are:

MaxBatchSize: 10

ReceiveTimeOut: 1 minute

PrefetchCount: 300

InitialOffsetProvider: uses the last offset checkpointed, or StartOfStream

InvokeProcessorAfterReceiveTimeout: false

public static Microsoft.Azure.EventHubs.Processor.EventProcessorOptions DefaultOptions { get; }
static member DefaultOptions : Microsoft.Azure.EventHubs.Processor.EventProcessorOptions
Public Shared ReadOnly Property DefaultOptions As EventProcessorOptions

Property Value

an EventProcessorOptions instance with all options set to the default values

Applies to