glucaci / mongodb-quartz-net

MongoDB Job Store for Quartz.NET
MIT License
51 stars 41 forks source link

Support for Azure Cosmos DB with MongoDB API #32

Open raj-netapp opened 2 years ago

raj-netapp commented 2 years ago

Team,

We need a support for Azure Cosmos DB with .NET Mongo DB driver. Ours is a multi-tenancy architecture, so we are going with sharded collections - hence there is a need to have the below properties in all the data models.

1) Type - Type of the document - Here we are trying to combine multiple types of document into a single collection as CosmosDB has a limitation on the number of collections.

  1. PK (Partition Key) - TenantID + Type - Used for the logical separation of the data. TenantID will be passed from the application.

Thanks, Raj.