Hi,
I have several worker roles which receives dataEvent from a specific EventHub. When it received event data, it forwards these events to some infrastructure services to process them. Problem is these infrastructure services is not so trustable, they might be unavailable for a moment. If this happen, these event data will failed to be processed.
My Idea is if I find some infrastructure services are unavailable, just let the event hub receiver stop receiving new message and repeating receive the current message.
Here the questing is:
- Is this doable? How to achieve this in code?
- When I repeating the fault messages, will the fault messages always be received by the same worker role instance?
Thanks.
Best wishes,
Robin