Service Bus Messages Trigger Twice

test29998411 281 Reputation points
2021-09-13T15:30:51.977+00:00

In some cases, the following message is output twice by Azure Functions of Service Bus trigger.
Is it best to implement the same to skip the processing of Azure Functions when the above log is output more than once?

# Application insights log
Trigger Details: MessageId: xxxxx, DeliveryCount: 1, EnqueuedTime: 5/14/2021 7:10:02 AM, LockedUntil: 5/14/2021 7:10:22 AM, SessionId: (null)
Trigger Details: MessageId: xxxxx, DeliveryCount: 1, EnqueuedTime: 5/14/2021 7:10:02 AM, LockedUntil: 5/14/2021 7:10:42 AM, SessionId: (null)
Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
553 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,321 questions
{count} votes