Azure / azure-functions-eventhubs-extension

Event Hubs extension for Azure Functions
MIT License
20 stars 26 forks source link

Can not have enough instances #112

Closed HaochenQ closed 2 years ago

HaochenQ commented 2 years ago

Hi Team,

We have around 100 event hubs partitions and are using a Premium Function plan, however, the maximum instance we can get is only 15 which is affecting the performance.

Is there any configuration within [azure-functions-eventhubs-extension] we can make to use more instances?

We are migrating from Sevice Bus for the costing reason while the performance on Service bus is much better.

Extension in use: 5.0.0-beta.6

host.json: { "version": "2.0", "aggregator": { "batchSize": 1000, "flushTimeout": "00:00:05" }, "healthMonitor": { "enabled": true, "healthCheckInterval": "00:00:10", "healthCheckWindow": "00:02:00", "healthCheckThreshold": 6, "counterThreshold": 0.8 }, "extensions": { "eventHubs": { "eventProcessorOptions": { "maxBatchSize": 128, "prefetchCount": 512 }, "initialOffsetOptions": { "type": "fromEnqueuedTime", "enqueuedTimeUtc": "2022-05-25T18:00:00Z" } } } }

Many thanks!

alrod commented 2 years ago

@HaochenQ, can you please privately share you function app name and a timestamp when you have "the maximum instance we can get is only 15 which is affecting the performance"

ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.