Skip to content

Comments

InMemoryLeaseContainer: Adds public API to use InMemoryLeaseContainer with ChangeFeedProcessorBuilder#5182

Merged
kirankumarkolli merged 7 commits intomasterfrom
users/kirankk/inmemory_lease_container
May 13, 2025
Merged

InMemoryLeaseContainer: Adds public API to use InMemoryLeaseContainer with ChangeFeedProcessorBuilder#5182
kirankumarkolli merged 7 commits intomasterfrom
users/kirankk/inmemory_lease_container

Conversation

@kirankumarkolli
Copy link
Member

@kirankumarkolli kirankumarkolli commented May 7, 2025

Enabling using InMemoryLeaseContainer as public contract.

LIMITATIONS: Estimator API is not supported with InMemoryLeaseContainer.

public class ChangeFeedProcessorBuilder
{
    public virtual ChangeFeedProcessorBuilder WithInMemoryLeaseContainer();
}

Usage

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)
  • 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

@kirankumarkolli kirankumarkolli requested a review from a team as a code owner May 8, 2025 21:38
Pilchie
Pilchie previously approved these changes May 9, 2025
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks

Copy link
Member

@kundadebdatta kundadebdatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kirankumarkolli kirankumarkolli merged commit 7be150c into master May 13, 2025
1 of 26 checks passed
@kirankumarkolli kirankumarkolli deleted the users/kirankk/inmemory_lease_container branch May 13, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for In-Memory Lease Container in Cosmos DB SDK v3

4 participants