Azure Service Bus Topic metric shows incorrect total of Outgoing messages
Question Description
I am having a .net core webjob which will be reading messages from an Azure Topic in batches. I have encoutered a weird scenario while observing the metrics of Incoming VS Outgoing messages. Incoming messages was 10k and Outgoing messages were 64k. I have implemented logging to understand , if the webjob is processing the messages multiple times, but surprisingly the webjob was not processing messages more than once. FYI.. we I am using Microsoft.Azure.ServiceBus.Core.MessageReceiver to read messages from azure topic.
Actual Behavior :
Number of Incoming messages is not equal to number of outgoing messages.
Expected Behavior
Number of Incomng messages is equal to number of outgoing messages.
Adding few screen shots of the issue:
I have tested under a load of 10k messages. So our job is processing only 10k messages, but the metrics for outgoing messages is 64k
Code