Skip to content

Event Hubs, Offset not mapped properly from ReceivedEventData -> Checkpoint #6497

Open
@codynolf-cnhi

Description

@codynolf-cnhi

Query/Question
I am struggling to understand why the offset from a ReceivedEventData is losing its value (changing from correct value to 0) when I invoke ProcessorPartitionClient::UpdateCheckpoint. I have created my own CheckpointStore (just writes local json file) which gets called from the ProcessorPartitionClient, all good here. The problem is when I get the Checkpoint object from the signature the offset is now 0 instead of the proper value. SequenceNumber is mapping properly.

I noticed this change which did confuse me at first until i noticed it was recent, but this should not matter as my local offset is Int64 type.

Am I going crazy? Or is something not working like it should here.

Before Calling UpdateCheckpoint:

Image

After UpdateCheckpoint is invoked and makes it way to my CheckpointStore implementation:

Image

Why is this not a Bug or a feature Request?
I am new to open source so I wanted to put a query in first for a sanity check before I open a bug.

Setup (please complete the following information if applicable):

  • OS: Windows WSL using .devcontainer -> mcr.microsoft.com/devcontainers/cpp:1-ubuntu-24.04)
  • IDE : vscode
  • Version of the Library used: 1.0.0-beta.10

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [ x] Query Added
  • [ x] Setup information Added

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions