EventHubOptions.TargetUnprocessedEventThreshold 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.
Get or sets the target number of unprocessed events per worker for Event Hub-triggered functions. This is used in target-based scaling to override the default scaling threshold inferred from the MaxEventBatchSize option.
If TargetUnprocessedEventThreshold is set, the total unprocessed event count will be divided by this value to determine the number of worker instances, which will then be rounded up to a worker instance count that creates a balanced partition distribution.
public int? TargetUnprocessedEventThreshold { get; set; }
member this.TargetUnprocessedEventThreshold : Nullable<int> with get, set
Public Property TargetUnprocessedEventThreshold As Nullable(Of Integer)