Cloud Architecture

Event-Driven Processing with Cosmos DB Change Feed

Cloud Architecture diagram · made in Skemio

Architecture diagram showing client app writing to Cosmos DB, change feed triggering Azure Function via Lease Container, sending alerts via Service Bus to downstream consumer.
Architecture diagram showing client app writing to Cosmos DB, change feed triggering Azure Function via Lease Container, sending alerts via Service Bus to downstream consumer.

What it shows

  • Cosmos DB Change Feed listens natively to document writes without polling
  • Azure Functions scales horizontally matching partition key throughput
  • A dedicated lease container tracks state to guarantee at-least-once delivery

The takeaway

Change Feed turns your database into an event stream, decoupling writes from async workloads.

More cloud architecture diagrams