QuestionQ124

Integrate an Azure Cosmos DB solution

You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.

You need to make the contents of container1 available as reference data for an Azure Stream Analytics job.

Solution: Create an Azure Function that uses the Azure Cosmos DB for NoSQL change feed as a trigger and Azure Event Hubs as the output.

Does this meet the goal?

  • A Yes
  • B No
Explanation

Azure Event Hubs is supported as a Stream Analytics data-stream input, whereas reference-data inputs are supported only from Azure Blob Storage, Azure Data Lake Storage Gen2, and Azure SQL Database. Sending Azure Cosmos DB change-feed records to an event hub does not provide them as reference data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!