Commit 7be150c
InMemoryLeaseContainer: Adds public API to use InMemoryLeaseContainer with ChangeFeedProcessorBuilder (#5182)
Enabling using InMemoryLeaseContainer as public contract.
**LIMITATIONS: Estimator API is not supported with
InMemoryLeaseContainer.**
```C#
public class ChangeFeedProcessorBuilder
{
public virtual ChangeFeedProcessorBuilder WithInMemoryLeaseContainer();
}
```
Usage
```C#
ChangeFeedProcessor processor = this.Container
.GetChangeFeedProcessorBuilder(...)
.WithInstanceName("...")
.WithInMemoryLeaseContainer()
.Build();
```
## Type of change
Please delete options that are not relevant.
- [] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [] This change requires a documentation update
## Closing issues
To automatically close an issue: closes #5177
---------
Co-authored-by: Debdatta Kunda <87335885+kundadebdatta@users.noreply.github.com>1 parent f07e797 commit 7be150c
2 files changed
Lines changed: 8 additions & 4 deletions
File tree
- Microsoft.Azure.Cosmos
- src/ChangeFeedProcessor
- tests/Microsoft.Azure.Cosmos.Tests/Contracts
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
218 | 217 | | |
219 | | - | |
| 218 | + | |
220 | 219 | | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
373 | 378 | | |
374 | 379 | | |
375 | 380 | | |
| |||
0 commit comments