One azure function has problems reading one partition on an eventhub

Rickard Eriksson (Admin) 0 Reputation points
2025-04-25T13:37:20.78+00:00

One of our Azure Functions is having issues all of a sudden to read from partition 7 of our Azure Event Hub, the same issue was seen about 3 months ago but the support team could not find anything so I recreated the function and Event Hub. This seems to have fixed the issue for a while but as said the issue has come up again. It is always the same partition that has the issue just as last time, just a different partition from last time. This is what I can find in the "Diagnose and solve problems" blade and "Event Hubs Trigger Issue Analysis" option:

User's image

While the other partitions all look great:

User's image

Our traffic is very predictable and i have checked that all partitions have about the same amount of messages going in to them.

Here is the host.json I am running with at the moment (removed logging parts):

{
  "extensions": {
    "eventHubs": {
      "batchCheckpointFrequency": 5,
      "maxEventBatchSize": 50,
      "prefetchCount": 100
    }
  },
  "version": "2.0"
}

It is a dotnet-isolated function running dotnet 8 with these nuget package versions:

    <PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.0.0" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="2.0.0" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.3.0" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.EventHubs" Version="6.3.6" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.0" />

We have many azure functions also running the same versions etc but none of them are showing the same symptoms. There are also no error logs that I can find so I have no idea where to go from here.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,789 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.