Incoming and Outgoing messages mismatch in Event Hubs

dotnet_guy 10 Reputation points
2024-07-30T19:18:54.0766667+00:00

Hello,

We have an Azure function triggered by Event Hubs. There is over 7-15min varying gap between each function execution(s). We see about 1k messages coming in constantly but the outgoing spikes every 7-15min are over 8k messages and sometimes around 10k as well. The overall incoming and outgoing messages nearly match as soon as soon as the spike is done. But there are some missing, will tackle that later. There are no errors in App Insights and Log Analytics.

Now I am wondering why the spikes and not have a uniform incoming and outgoing as soon as the messages come in, the memory for the spike is high (~350MB). The function is always on, so no cold start. I did not any additional config, for example to fire the function after a certain time or number of events. We are using 32 partitions and have standard, not premium tier.

Please let me know if I am missing something and how the spikes can be evened out.

Thanks.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,117 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
646 questions
{count} votes

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.