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