Azure / Azure/azure-documentdb-changefeedprocessor-dotnet

Migrating ChangeFeed to new CosmosDB

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
51
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I have an existing event store and lease documents; and I'm looking to migrate them to a new CosmosDB. What I'm seeing in my research is the existing `id` field on my lease documents will no longer match in the new database due to the [host, database, and collection resource ID changing](https://github.com/Azure/azure-documentdb-changefeedprocessor-dotnet/blob/master/src/DocumentDB.ChangeFeedProcessor/ChangeFeedProcessorBuilder.cs#L521-L523).

Is there a known way to cold-migrate the documents to a new database while maintaining the previous `ContinuationToken`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.