你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventProcessorClientOptions.PartitionOwnershipExpirationInterval Property

Definition

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.

public TimeSpan PartitionOwnershipExpirationInterval { get; set; }
member this.PartitionOwnershipExpirationInterval : TimeSpan with get, set
Public Property PartitionOwnershipExpirationInterval As TimeSpan

Property Value

The default ownership interval is 2 minutes.

Exceptions

Occurs when the requested interval is negative.

Remarks

As a general guideline, it is advised that this value be greater than the configured LoadBalancingUpdateInterval by at least a factor of two. It is recommended that this be a factor of three or more, unless there are application scenarios that require more aggressive ownership expiration.

Applies to