Skip to content

Clarified checkpoint state implications when changing storage accounts or recreating the Event hub.#128527

Open
ffarinha-msft wants to merge 2 commits into
MicrosoftDocs:mainfrom
ffarinha-msft:patch-13
Open

Clarified checkpoint state implications when changing storage accounts or recreating the Event hub.#128527
ffarinha-msft wants to merge 2 commits into
MicrosoftDocs:mainfrom
ffarinha-msft:patch-13

Conversation

@ffarinha-msft
Copy link
Copy Markdown
Contributor

@ffarinha-msft ffarinha-msft commented May 22, 2026

This PR aims to clarify checkpoint state storage details and implications of changing storage accounts or recreating the Event hub.

Namely that if an Event Hub is deleted and recreated, the event stream position (such as sequence numbers and offsets) is reset, while existing checkpoints on the Storage Account remain unchanged. In this scenario, the function might not process new events until the checkpoint state is manually reset by either recreating the storage account or just delete the blob files under azure-webjobs-eventhub/[EVENTHUB_NAMESPACE].servicebus.windows.net/[EVENTHUB_NAME]/[CONSUMER_GROUP]/checkpoint..

This scenario was discussed on ICM 51000001001837 and also on this Github issue Azure/azure-sdk-for-net#53741

Clarified checkpoint state storage details and implications of changing storage accounts or recreating the Event hub.
@prmerger-automator
Copy link
Copy Markdown
Contributor

@ffarinha-msft : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 417c92a:

✅ Validation status: passed

File Status Preview URL Details
articles/azure-functions/functions-reliable-event-processing.md ✅Succeeded

For more details, please refer to the build report.

@v-regandowner v-regandowner requested a review from Copilot May 26, 2026 14:45
@v-regandowner
Copy link
Copy Markdown
Contributor

@ggailey777

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged tracking label for the PR review team label May 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Clarifies how Azure Functions Event Hubs checkpointing behaves when the Storage account is changed or when an Event Hub is deleted and recreated, emphasizing potential implications for event processing continuity.

Changes:

  • Added documentation explaining that checkpoint state persists in the configured Storage account.
  • Documented implications of switching Storage accounts (loss of prior checkpoint context) and recreating an Event Hub (stream position reset vs. persisted checkpoints).
  • Noted that stale checkpoints can prevent new events from being processed until checkpoints are deleted.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread articles/azure-functions/functions-reliable-event-processing.md Outdated
Comment thread articles/azure-functions/functions-reliable-event-processing.md

Your code and dependent systems might need to account for the fact that the same event could be processed twice. For more information, see [Designing Azure Functions for identical input](functions-idempotent.md).
- Checkpoint state is stored on the client side:

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 63b4121:

✅ Validation status: passed

File Status Preview URL Details
articles/azure-functions/functions-reliable-event-processing.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants