EventHubSequenceTokenV2
class
Namespace: Orleans.Streaming.EventHubs
Event Hub messages consist of a batch of application layer events, so EventHub tokens contain three pieces of information. EventHubOffset - this is a unique value per partition that is used to start reading from this message in the partition. SequenceNumber - EventHub sequence numbers are unique ordered message IDs for messages within a partition. The SequenceNumber is required for uniqueness and ordering of EventHub messages within a partition. event Index - Since each EventHub message may contain more than one application layer event, this value indicates which application layer event this token is for, within an EventHub message. It is required for uniqueness and ordering of application layer events within an EventHub message.
[Orleans.GenerateSerializer]public class EventHubSequenceTokenV2 : EventHubSequenceTokenConstructors
EventHubSequenceTokenV2Initializes a new instance of theEventHubSequenceTokenV2class.EventHubSequenceTokenV2(string, long, int)Initializes a new instance of theEventHubSequenceTokenV2class.
