IPartitionProcessor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an API to run continuous processing on a single partition of some resource. Created by Create(ILease, IChangeFeedObserver) or Create(ILease, ILeaseCheckpointer, IChangeFeedObserver) after some lease is acquired by the current host. Processing can perform the following tasks in a loop:
- Read some data from the resource partition.
- Handle possible problems with the read.
- Pass the obtained data to an observer by calling ProcessChangesAsync(IChangeFeedObserverContext, IReadOnlyList<Document>, CancellationToken) with the context IChangeFeedObserverContext.
public interface IPartitionProcessor
type IPartitionProcessor = interface
Public Interface IPartitionProcessor
Methods
RunAsync(CancellationToken) |
Perform partition processing. |