Share via


IChangeFeedObserverContext Interface

Definition

Represents the context passed to IChangeFeedObserver events.

public interface IChangeFeedObserverContext
type IChangeFeedObserverContext = interface
Public Interface IChangeFeedObserverContext

Properties

FeedResponse

Gets the response from the underlying ExecuteNextAsync(CancellationToken) call.

PartitionKeyRangeId

Gets the id of the partition for the current event.

Methods

CheckpointAsync()

Checkpoints progress of a stream. This method is valid only if manual checkpoint was configured. Client may accept multiple change feed batches to process in parallel. Once first N document processing was finished the client can call checkpoint on the last completed batches in the row. In case of automatic checkpointing this is method throws.

Applies to