-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[BUG] [CRITICAL] Missing offset in checkpoint store #46752
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event HubsService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.Type-BugbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Metadata
Metadata
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event HubsService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.Type-BugbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Describe the bug
After updating azure-sdk-bom to 1.2.38 offset is not stored anymore in Azure Blob Storage.
This is not only breaking our monitoring but also partition switch is currently broken.
To Reproduce
Steps to reproduce the behavior:
Use azure-sdk-bom 1.2.38.
Observe
offsetis not stored anymore.Code Snippet
This is caused by
offsetStringis not used in every place:But there should be a fallback in
com.azure.messaging.eventhubs.checkpointstore.blob.BlobCheckpointStore#updateCheckpointto usegetOffset()whengetOffsetString()returns null or empty untilgetOffset()is removed.Expected behavior
offsetis saved in Checkpoint store.Screenshots

Setup (please complete the following information):
Severity
This is a high critical defect, because it breaks partition switch and our grafana monitoring - we can't monitor consumer group lag.