8. Bulk import of data using Azure Durable Functions and Cosmos DB

In this chapter, we'll complete the following recipes:

  • Uploading employee data to blob storage
  • Creating a blob trigger
  • Creating a durable orchestrator and triggering it for each CSV import
  • Reading CSV data using activity functions
  • Autoscaling Cosmos DB throughput
  • Bulk inserting data into Cosmos DB

Introduction

In this chapter, we'll develop a mini-project by taking a very common use case that solves the business problem of sharing data across different applications using CSV. We'll use Durable Functions, which is an extension to Azure Functions that lets you write workflows by writing a minimal amount of code.

Here are the two core features of Durable Functions that ...

Get Azure Serverless Computing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.