PartitionManagerOptions 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.
Options to control various aspects of partition distribution happening within EventProcessorHost instance.
public class PartitionManagerOptions
type PartitionManagerOptions = class
Public Class PartitionManagerOptions
- Inheritance
-
PartitionManagerOptions
Constructors
PartitionManagerOptions() |
Initializes a new instance of the PartitionManagerOptions class. |
Properties
AcquireInterval |
Interval when EventProcessorHost instance kicks off a task to compute if partitions are distributed evenly among known host instances. |
DefaultOptions |
Creates an instance of PartitionManagerOptions with following default values: a) RenewInterval = 10 seconds b) AcquireInterval = 10 seconds c) DefaultLeaseInterval = 30 seconds d) MaxReceiveClients = 16, |
LeaseInterval |
Interval for which the lease is taken on Azure Blob representing an EventHub partition. If the lease is not renewed within this interval, it will cause it to expire and ownership of the partition will move to another EventProcessorHost instance. |
MaxReceiveClients |
Maximum number of receiver clients created for each host instance. Once the max is reached host will start rebalancing partitions among receiver clients already created. |
RenewInterval |
Renew interval for all leases for partitions currently held by EventProcessorHost instance. |
SkipBlobContainerCreation |
Use this option if you want creation of Blob container for partition leases to happen outside of EventProcessorHost. This is useful in scenarios where you want to pass in a CloudBlobClient to EventProcessorHost which does not have permissions to create storage container. Default value for this options is 'false'. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기