Skip to content

LeaseBasedQueueBalancerOptions Properties

Config for LeaseBasedQueueBalancer. User need to configure this option in order to use LeaseBasedQueueBalancer in the stream provider. Per stream provider options can be configured as named options using the same name as the provider.

LeaseAquisitionPeriod

getset
View source
[System.Obsolete(Use LeaseAcquisitionPeriod instead., True)]
public TimeSpan LeaseAquisitionPeriod
Gets or sets how often balancer attempts to acquire leases.

LeaseCategory

getset
View source
public string LeaseCategory
Gets or sets the lease category, allows for more fine grain partitioning of leases.

LeaseLength

getset
View source
public TimeSpan LeaseLength
Gets or sets the length of the lease.

Property value

The length of the lease.

LeaseRenewPeriod

getset
View source
public TimeSpan LeaseRenewPeriod
Gets or sets the lease renew period.

Property value

The lease renew period.