天蓝色事件中心中的纪元、序列号、偏移量、所有者、令牌是什么意思?

What do epoch, sequence number, offset, owner, token mean in azure event hubs?

通过消费者组存储的epoch、sequence number、token是什么意思?

以下表格存储在 Azure Blob 存储中:

{  
   "Offset":"8251440",
   "SequenceNumber":10576,
   "PartitionId":"11",
   "Owner":"host-93e93907-df5f-4643-a784-5931e8fb787f",
   "Token":"24f1c215-688f-462f-b78f-142943ab123a",
   "Epoch":2437
}

我想知道这些是什么意思

在这样的时代,您需要意识到文档的世界,您很少需要与 Microsoft 一起猜测

Lease.Epoch Property

Gets or sets the epoch year of the lease, which is a value you can use to determine the most recent owner of a partition between competing nodes.

Lease.Offset Property

Gets or sets the current value for the offset in the stream.

Lease.Owner Property

Gets or sets the host owner for the partition.

Lease.PartitionId Property

Gets the ID of the partition to which this lease belongs.

Lease.SequenceNumber Property

Gets or sets the last checkpointed sequence number in the stream.

Lease.Token Property

Gets or sets the lease token that manages concurrency between hosts. You can use this token to guarantee single access to any resource needed by the IEventProcessor object.