EventProcessorOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The set of options that can be specified when creating an EventProcessor<TPartition> to configure its behavior.
public class EventProcessorOptions
type EventProcessorOptions = class
Public Class EventProcessorOptions
- Inheritance
-
EventProcessorOptions
Constructors
EventProcessorOptions() |
Properties
ConnectionOptions |
The options used for configuring the connection to the Event Hubs service. |
DefaultStartingPosition |
The position within a partition where the event processor should begin reading events when no checkpoint can be found. |
Identifier |
A unique name used to identify the event processor. If |
LoadBalancingStrategy |
The strategy that an event processor will use to make decisions about partition ownership when performing load balancing to share work with other event processors. |
LoadBalancingUpdateInterval |
The desired amount of time to allow between load balancing verification attempts. |
MaximumWaitTime |
The maximum amount of time to wait for events to become available from a given partition before emitting an empty batch of events. |
PartitionOwnershipExpirationInterval |
The desired amount of time to consider a partition owned by a specific event processor instance before the ownership is considered stale and the partition becomes eligible to be requested by another event processor that wishes to assume responsibility for processing it. |
PrefetchCount |
The number of events that will be eagerly requested from the Event Hubs service and queued locally without regard to whether a read operation is currently active, intended to help maximize throughput by allowing events to be read from from a local cache rather than waiting on a service request. |
PrefetchSizeInBytes |
The desired number of bytes to attempt to eagerly request from the Event Hubs service and queued locally without regard to whether a read operation is currently active, intended to help maximize throughput by allowing events to be read from from a local cache rather than waiting on a service request. |
RetryOptions |
The set of options to use for determining whether a failed operation should be retried and, if so, the amount of time to wait between retry attempts. These options also control the amount of time allowed for receiving event batches and other interactions with the Event Hubs service. |
TrackLastEnqueuedEventProperties |
Indicates whether or not the processor should request information on the last enqueued event on the partition associated with a given event, and track that information as events are received. |
Applies to
Azure SDK for .NET