EventHubBufferedProducerClientOptions.MaximumEventBufferLengthPerPartition Property
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.
The total number of events that can be buffered for publishing at a given time for a given partition. Once this capacity is reached, more events can enqueued by calling EnqueueEventAsync(EventData, EnqueueEventOptions, CancellationToken) or EnqueueEventsAsync(IEnumerable<EventData>, EnqueueEventOptions, CancellationToken), which will automatically wait for room to be available.
public int MaximumEventBufferLengthPerPartition { get; set; }
member this.MaximumEventBufferLengthPerPartition : int with get, set
Public Property MaximumEventBufferLengthPerPartition As Integer
Property Value
The default limit is 1500 queued events for each partition.
Exceptions
Occurs when the requested count is not between 1 and 1 million (inclusive).
Applies to
Azure SDK for .NET