EventProcessorClient doesn't provide batch deliveries and ProcessEventHandler will deliver single EventData at a time. If you want to batch for optimizing downstream writes then you can batch incoming messages in the handler yourself. Doing it so actually is no different than SDK doing it for you.
Controlling EventProcessorClient to pull batchs from azure event hub
Bruno Lucas
4,431
Reputation points MVP
Hi,
I know the right approach is using the azure function trigger and set the batch size in the host.json, but I am not allowed to use the ports required for AMQP, therefore, I need to improvise with a time trigger and the EventProcessorClient . is there a way to set a max batch size in here:
1 answer
Sort by: Most helpful
-
Serkant Karaca 21 Reputation points Microsoft Employee
2021-08-11T20:15:17.733+00:00