locked
Insert value From Eventhub to CosmosDB RRS feed

  • Question

  • Hello Guys ,

    Please suggest us ,We need to Insert value From Event hub to CosmosDB , what is best option available ? except azure function.

    Thanks & Regards

    Prabu.R

    Wednesday, January 8, 2020 7:54 AM

All replies

  • The EventHub SDK exposes an Event Processor Host that you can implement to receive events from the Event Hub.

    You can use the SDK in any background process like a WebJob or Worker Service to receive and store the data in Azure Cosmos DB

    Any specific reason for avoiding Azure Functions? It is the simplest way to implement your requirement.


    Wednesday, January 8, 2020 2:43 PM
  • yes i have one architectural question. if you can help please refer attached screenshot.

    From our instrument --> iothub --> event hub --> azure function ---> cosmosDB(mongoAPI) inserting data to database.

    Our azure Web app ---> Accessing cosmosdb(mongoAPI) --> for user request data , large csv & PdF.

    Some certain situation bottleneck creating . ( function --> cosmos Access & azure Web app --> cosmos access ).

    How to solve bottleneck condition. if you refer attachment bottleneck you will understand.

    Thanks & Regards 

    Prabu.R

    Thursday, January 9, 2020 11:22 AM