.NET SDK for Azure Cosmos DB for NoSQL Flashcards

1
Q

What 4 core components does the change feed processor include?

A
  1. Monitored container; monitored for any insert or update operations. These changes are then reflected in the feed.
  2. Lease container; serves as a storage mechanism to manage state across multiple change feed consumers (clients)
  3. Host; a client application instance that listens for and reacts to changes from the change feed eg. VM, Kubernetes pod, azure app service instance.
  4. Delegate; The delegate is the code within the client application that will implement business logic for each batch of changes. Used to define custom logic to process the changes that the change feed reads.

NB: Prior to using the change feed processor, you should create a lease container that you will reference when configuring the processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What’s change feed processor?

A

The change feed processor in Azure Cosmos DB simplifies the process of reading the change feed and can be used to distribute the event processing across multiple consumers effectively.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly