You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are seeing duplicate messages from starter functions.
[FunctionName("Process")]publicasyncTask<IActionResult>Run([HttpTrigger(AuthorizationLevel.Anonymous,"post","patch","put",Route=null)]HttpRequestreq,[DurableClient]IDurableEntityClientclient){varprocess=JsonConvert.DeserializeObject<Process>(awaitreq.ReadAsStringAsync());process.Id=Guid.NewGuid().ToString("N");awaitclient.SignalEntityAsync<IProcessor>(process.id, o =>o.StartProcess(process));}
Our telemetry shows that StartProcess for this id is sometimes triggered twice. Since the id is generated locally the trigger is not issuing the same message by being triggered twice. Since this occurs multiple times per day a Guid collision is extremely unlikely. We are seeing this for functions with HttpTriggers and QueueTriggers.
The text was updated successfully, but these errors were encountered:
I discovered recently that EventHubs can internally duplicate messages, which explains what you are seeing. See #379 for a discussion. Unfortunately we do not have any mechanism to deduplicate these duplicate deliveries. Your best bet is to implement some form of deduplication yourself.
We are seeing duplicate messages from starter functions.
Our telemetry shows that StartProcess for this id is sometimes triggered twice. Since the id is generated locally the trigger is not issuing the same message by being triggered twice. Since this occurs multiple times per day a Guid collision is extremely unlikely. We are seeing this for functions with HttpTriggers and QueueTriggers.
The text was updated successfully, but these errors were encountered: