你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubOptions.TargetUnprocessedEventThreshold 属性

定义

获取或设置事件中心触发的函数的每个辅助角色未处理事件的目标数量。 这在基于目标的扩缩中用于替代从 MaxEventBatchSize 选项推断的默认扩缩阈值。

如果设置了 TargetUnprocessedEventThreshold,则未处理事件总数将除以此值,以确定辅助角色实例的数量,这些实例将向上舍入为创建均衡分区分布的工作器实例计数。

public int? TargetUnprocessedEventThreshold { get; set; }
member this.TargetUnprocessedEventThreshold : Nullable<int> with get, set
Public Property TargetUnprocessedEventThreshold As Nullable(Of Integer)

属性值

适用于