Which Azure service to use for processing data from Event Hub? -


i appreciate picking out best suited azure services scenario - beginning azure services , knowledge pretty limited.

i have data multiple sources, , of different shapes, coming event hub. need subscribe events event hub and, based on format, process them , save them sql database. components - events consumers, sql database - need hosted in cloud.

how implement in "azure orientated architecture"?

in off cloud application, have competing consumers subscribing event hub. console applications or windows services, , each processing events asynchronously (this further simplified event processing being idempotent).

ideally, azure equivalent of above consumers scale , down automatically, not have use vms host console applications (where need keep eye on vm's resources myself). scaling , deployment wise have behave app services, i'm under impression web applications. i've briefly looked @ web jobs, seem polling data @ various intervals, whereas need proper event subscriber event hub pushes data into.

any appreciated! thank you.

later edit:

  1. i've looked web jobs , allow continuous processing, hence looks can used automatically scaling subscribers.
  2. ideally write code subscribers in f#. c# other option if not available.

i'd use webjob in combination eventprocessor. wrote demo code can transferred webjob: https://github.com/deheersoftware/semanticlogging.eventhub/tree/master/semanticlogging.eventhub.processor

see https://azure.microsoft.com/en-us/documentation/articles/event-hubs-csharp-ephcs-getstarted/#receive-messages-with-eventprocessorhost official documentation.

i've created webjob myself using approach. works charm.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -