Open mgaillez opened 2 years ago
We are having an issue after upgrading Microsoft.Azure.WebJobs.Extensions.ServiceBus from v4 to v5
Create any function app with Microsoft.Azure.WebJobs.Extensions.ServiceBus 5.1.0
Create a function like:
[FunctionName("Function1")] public static void Run([ServiceBusTrigger("my-queue", Connection = "service_bus_connection_string", IsSessionsEnabled = true)]ServiceBusReceivedMessage myQueueItem, ILogger log) { log.LogInformation($"C# ServiceBus queue trigger function processed message: {myQueueItem}"); }
In host.json add:
"logging": { "logLevel": { "default": "Warning" } } }
Run the function app and wait for 1 minute. And you start seeing a timeoutexception every minute from then on.
Having loglevel Warning will flood our Application Insights with unwanted messages.
Provide any related information
Tagging @AnatoliB / @alrod for further investigation
We faced the same issue.
We are having an issue after upgrading Microsoft.Azure.WebJobs.Extensions.ServiceBus from v4 to v5
Repro steps
Create any function app with Microsoft.Azure.WebJobs.Extensions.ServiceBus 5.1.0
Create a function like:
In host.json add:
Run the function app and wait for 1 minute. And you start seeing a timeoutexception every minute from then on.
Having loglevel Warning will flood our Application Insights with unwanted messages.
Provide any related information