Delen via


EventHubBufferedProducerClientOptions.MaximumConcurrentSends Property

Definition

The total number of batches that may be sent concurrently, across all partitions. This limit takes precedence over the value specified in MaximumConcurrentSendsPerPartition, ensuring this maximum is respected.

public int MaximumConcurrentSends { get; set; }
member this.MaximumConcurrentSends : int with get, set
Public Property MaximumConcurrentSends As Integer

Property Value

By default, this will be set to the number of processors available in the host environment.

Exceptions

Occurs when the requested count is not between 1 and 100 (inclusive).

Remarks

When batches for the same partition are published concurrently, the ordering of events is not guaranteed. If the order events are published must be maintained, MaximumConcurrentSendsPerPartition should not exceed 1.

Applies to