Azure Eventhub Sequence Number sequencing

Sahu, Deepika 1 Reputation point
2021-06-06T05:30:42.837+00:00

I know the below is true for sequence number within a partition :-

Sequence Number follows a predictable pattern where numbering is contiguous and unique within the scope of a partition. So if message x has sequence number 500 , message y will have sequence number 501.

Say last sequence number when message was received was 5000, and then no more messages were received and after 7 days retention policy , on 10th day we receive a message on the same partition , will the sequence number start from 5001 or will it be different this time?

The reason i am asking because I am seeing: "The expected sequence number xxx is less than the received sequence number yyy."?

For example:- The supplied sequence number '33508' is invalid. The last sequence number in the system is '583'

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
628 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,471 Reputation points Microsoft Employee
    2021-06-07T21:40:24.99+00:00

    Hello @Sahu, Deepika ,
    Thanks for the ask and using the Microsoft Q&A platform .

    Sequence number should be contiguous even the data gets deleted due to retention policy setting.

    Please do let me know how it goes .
    Thanks
    Himanshu
    Please do consider clicking on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.