Log/Metric when a message is de-duplicated by Azure Service Bus

ZQadir 195 Reputation points
2023-06-08T10:10:23.42+00:00

We have duplicate detection enabled on Queue in Azure Service Bus.

Wanted to know if there is any built in log/metric/alert that can help us to identify if a message is de-duplicated by Azure Service Bus for a specific queue and what's the message id for the de-duplicated message.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
704 questions
{count} vote

Accepted answer
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2023-06-08T11:46:24.76+00:00

    @ZQadir Thanks for reaching out.

    Unfortunately, there is no out of box feature that can help you to validate and get the duplicate message ID's. The available metrics are listed here.

    The only way to find it would be logging your individual message at your end and then have your own custom logic to find if the same message were sent within a sliding window.

    Feel free to get back to me if you have any queries or concerns.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.