Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

How to repeatedly receive the same EventData from event hub?

$
0
0

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:

  1. Is this doable? How to achieve this in code?
  2. When I  repeating the fault messages, will the fault messages always be received by the same worker role instance? 

Thanks.

Best wishes,

Robin



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>