ChangeFeedIteratorOptions interface
Specifies options for the change feed
If none of those options are set, it will start reading changes from now for the entire container.
Properties
| change |
Signals the mode in which the change feed needs to start. |
| change |
Signals where to start from in the change feed. |
| excluded |
Excludes one or more Azure regions for the operation. This option is only applied when enableEndPointDiscovery is set to true. |
| max |
Max amount of items to return per page |
| priority |
Priority Level (Low/High) for each request. Low priority requests are always throttled before any high priority requests. Default value is null. By default all requests are of High priority |
| session |
The session token to use. If not specified, will use the most recent captured session token to start with. |
| throughput |
Throughput Bucket for a request. Default value is null. In this case, the request can use 100% of the partition throughput. For more information, visit [Cosmos DB throughput Bucketing](https://aka.ms/cosmsodb-bucketing). |
Property Details
changeFeedMode
Signals the mode in which the change feed needs to start.
changeFeedMode?: ChangeFeedMode
Property Value
changeFeedStartFrom
Signals where to start from in the change feed.
changeFeedStartFrom?: ChangeFeedStartFrom
Property Value
excludedLocations
Excludes one or more Azure regions for the operation.
This option is only applied when enableEndPointDiscovery is set to true.
excludedLocations?: string[]
Property Value
string[]
maxItemCount
Max amount of items to return per page
maxItemCount?: number
Property Value
number
priorityLevel
Priority Level (Low/High) for each request. Low priority requests are always throttled before any high priority requests.
Default value is null. By default all requests are of High priority
priorityLevel?: PriorityLevel
Property Value
sessionToken
The session token to use. If not specified, will use the most recent captured session token to start with.
sessionToken?: string
Property Value
string
throughputBucket
Throughput Bucket for a request.
Default value is null. In this case, the request can use 100% of the partition throughput.
For more information, visit [Cosmos DB throughput Bucketing](https://aka.ms/cosmsodb-bucketing).throughputBucket?: number
Property Value
number