Can multiple azure function read from single partition on event hub -


can multiple azure functions read single partition on event hub. can scale more number of partitions in event hub?

yes, possible.

let's event hub has n partitions. function might running on m instances (servers). each partition locked 1 of servers, i.e. 2 servers won't concurrently process messages same partition. m <= n hold.

each server may run multiple function executions in parallel. can multiple partitions, server might process several events same batch same partition @ same time.

the simplest experiment shows that:

  • 1 partition in event hub
  • azure function sleeps 10 seconds each event
  • send 10 events hub @ same time

in logs see processed in parallel, not sequentially.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -