Azure / azure-documentdb-changefeedprocessor-dotnet

This library provides a host for distributing change feed events in partitioned collection across multiple observers. Instances of the host can scale up (by adding) or down (by removing) dynamically, and the load will be automatically distributed among active instances in about-equal way.
Other
51 stars 22 forks source link

Cannot create a lease container when the database API is Gremlin #156

Closed phillsteele closed 3 years ago

phillsteele commented 4 years ago

The creation of a change feed processor requires a lease container with a partition key of id.

However, if the container that you wish to process the change feed on uses a Gremlin API then you are not able to create a container with a partition key of id.

It would appear that there is no way to use a change feed processor for a container that uses the Gremlin API.

UPDATE : It is possible to create the lease container in a separate database that uses a SQL API. This though incurrs additional overheads.