Reputation: 79
What do the epoch, sequence number, token, which is stored through the consumer group, mean?
The following forms are stored in azure Blob storage :
{
"Offset":"8251440",
"SequenceNumber":10576,
"PartitionId":"11",
"Owner":"host-93e93907-df5f-4643-a784-5931e8fb787f",
"Token":"24f1c215-688f-462f-b78f-142943ab123a",
"Epoch":2437
}
I want to know what these mean
Upvotes: 0
Views: 1545
Reputation: 81483
Its times like these that you need to realize there is a world of documentation, you seldom have to guess with Microsoft
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.
Gets or sets the current value for the offset in the stream.
Gets or sets the host owner for the partition.
Gets the ID of the partition to which this lease belongs.
Gets or sets the last checkpointed sequence number in the stream.
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.
Upvotes: 2