I have an EventHub trigger implemented with Azure Functions App. My business logic implementation was wrong in that function and had to correct it. I have corrected my implementation on Functions App, how would I change the checkpoint to that Azure Function to go back 24 hours and make the stream data available to Functions App?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Register MicroServices in Azure Active Directory (
- Removing VHD's from Azure Resource Manager aft
- Cannot use the Knowledge academic API
相关文章
- SQL Azure Reset autoincrement
- How to cast Azure DocumentDB Document class to my
- Can't get azure web role to run locally using
- Azure WebApp - Unable to auto-detect the runtime s
- How to change region for Azure WebSite
- Azure webjob vs cloud service
- Azure data transfer Identity Column Seed Jumped by
- Download Azure web app?
The problem remains that you likely don't know the sequence number used on each partition 24 hours ago, otherwise, Mikhail's suggestion may work with an modified step of going into each blob and editing the sequence number instead of deleting all blob entries.
You should probably just start from the beginning. Here are the steps:
"consumerGroup": "GroupB"
You should see that your Function will start processing events from the very beginning on the GroupB consumer group.
When I needed to start processing of events in a Hub from scratch, I went to Blob Storage ->
azure-webjobs-hosts
container and deleted the blobs with names likeyournamespace.servicebus.windows.net/yourhub/$Default/X
. Those blobs store the current checkpoints, so if you restart the Function App, it will start processing from the first event.I know it's hacky, but works for such basic scenario. Maybe somebody will suggest a better way.