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

Checkpoint interface

检查点表示用户从事件中心实例中的使用者组的特定分区中成功处理的最后一个事件。

当用户调用 updateCheckpoint() 类上的 PartitionProcessor 方法时,在内部创建 Checkpoint。 然后,它将存储在创建 CheckpointManager时由用户选择的 EventProcessor 实现的存储解决方案中。

用户永远不会期望直接与 Checkpoint 交互。 此接口用于支持 EventProcessorCheckpointManager的内部工作。

属性

consumerGroup

使用者组名称

eventHubName

事件中心名称

fullyQualifiedNamespace

完全限定的事件中心命名空间。 这很可能类似于 <yournamespace.servicebus.windows.net>

offset

事件的偏移量。

partitionId

事件中心分区的标识符

sequenceNumber

事件的序列号

属性详细信息

consumerGroup

使用者组名称

consumerGroup: string

属性值

string

eventHubName

事件中心名称

eventHubName: string

属性值

string

fullyQualifiedNamespace

完全限定的事件中心命名空间。 这很可能类似于 <yournamespace.servicebus.windows.net>

fullyQualifiedNamespace: string

属性值

string

offset

事件的偏移量。

offset: string

属性值

string

partitionId

事件中心分区的标识符

partitionId: string

属性值

string

sequenceNumber

事件的序列号

sequenceNumber: number

属性值

number