# LeaseBasedQueueBalancerOptions

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueBalancer/LeaseBasedQueueBalancerOptions.cs#L9)

```csharp
public class LeaseBasedQueueBalancerOptions
```

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.

## Constructors

- [LeaseBasedQueueBalancerOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/constructors/constructor-4ad80a31/)

## Properties

- [LeaseAcquisitionPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/leaseacquisitionperiod-df69b6b7/)
- [LeaseAquisitionPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/leaseaquisitionperiod-8beec6bc/)
- [LeaseCategory](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/leasecategory-d9b784bb/)
- [LeaseLength](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/leaselength-e8afcd9b/)
- [LeaseRenewPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/leaserenewperiod-bfef8945/)

## Fields

- [DefaultLeaseCategory](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/fields/defaultleasecategory-3ea4d0ef/)
- [DefaultLeaseLength](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/fields/defaultleaselength-d37f6eee/)
- [DefaultLeaseRenewPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/fields/defaultleaserenewperiod-052838a6/)
- [DefaultMinLeaseAcquisitionPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/fields/defaultminleaseacquisitionperiod-9c01c5f0/)
- [DefaultMinLeaseAquisitionPeriod](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/fields/defaultminleaseaquisitionperiod-d3b57bfd/)
