Maintained with ☕️ by
IcePanel logo
Microsoft Azure logo
Original post

Generally available: Higher default value for Azure Functions Event Hubs max batch size

Share

Services

Starting with version 6.0.0 of the [Azure Functions Event Hubs extension](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.EventHubs), a higher default value of 100 will be used for the _maxEventBatchSize_ configuration setting. This setting represents the maximum number of events from Event Hubs that the function can receive when it's invoked. This matches the defaults of the Azure SDK for Event Hubs and will apply starting with version 6.0.0 of the Event Hubs extension. This change will be beneficial to the average scenario by helping to improve performance as well as lower costs due to fewer function executions. We recommend testing to ensure no breaking changes are introduced to your function app before updating existing applications to version 6.0.0 or newer of the Event Hubs extension, especially if you have code that was written to expect 10 as the max event batch size. [Learn more.](https://learn.microsoft.com/azure/azure-functions/functions-bindings-event-hubs?tabs=in-process%2Cextensionv5) * Azure functions * Features * [ Azure functions](https://azure.microsoft.com/en-gb/products/functions/)