Microsoft.Azure.Documents.ChangeFeedProcessor Namespace

Contains classes and interfaces that support access to attributes of change feed events.

Classes

ChangeFeedEventHost

Simple host for distributing change feed events across observers and thus allowing these observers scale. It distributes the load across its instances and allows dynamic scaling:

  • Partitions in partitioned collections are distributed across instances/observers.
  • New instance takes leases from existing instances to make distribution equal.
  • If an instance dies, the leases are distributed across remaining instances. It's useful for scenario when partition count is high so that one host/VM is not capable of processing that many change feed events. Client application needs to implement IChangeFeedObserver and register processor implementation with ChangeFeedEventHost.
ChangeFeedHostOptions

Options to control various aspects of partition distribution happening within ChangeFeedEventHost instance.

ChangeFeedObserverContext

The context passed to IChangeFeedObserver events.

ChangeFeedProcessorBuilder

Provides a flexible way to to create an instance of IChangeFeedProcessor with custom set of parameters.

ChangeFeedProcessorOptions

Options to control various aspects of partition distribution happening within Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessor instance.

CheckpointFrequency

Specifies the frequency of lease event. The event will trigger when either of conditions is satisfied.

DocumentCollectionInfo

Holds information specifying how to get Document collection.

Interfaces

IChangeFeedObserver

This interface is used to deliver change events to document feed observers.

IChangeFeedObserverFactory

Factory class used to create instance(s) of IChangeFeedObserver.

Enums

ChangeFeedObserverCloseReason

The reason why an instance of Observer is closed.