Generally available: Higher default value for Azure Functions Event Hubs max batch size
公開日: 9月 13, 2023
Starting with version 6.0.0 of the Azure Functions Event Hubs extension, 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.