c# - azure 事件中心中的纪元、序列号、偏移量、所有者、 token 意味着什么?

标签 c# azure azure-eventhub

通过消费者组存储的epoch、序列号、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.

关于c# - azure 事件中心中的纪元、序列号、偏移量、所有者、 token 意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51346297/

相关文章:

c# - 删除 WinForms 中的 SplitContainer 面板填充

c# - 如何保护 azure Blob

Azure 事件网格高级筛选为 Not Null 运算符

Azure Blob 存储与 Azure 驱动器

azure - 事件中心指标显示大量 "Other Errors",如何获取详细信息?

azure - eventhub 中的大规模消息处理

c# - 属性的 getter 和 setter 的 Lambda

c# - 我的 DDD 工厂类中应该有哪些方法?

c# - 本应增加 1 的分数却增加了 2

azure - Azure事件中心和多个使用者组