occurrent icon indicating copy to clipboard operation
occurrent copied to clipboard

Compatibility with Azure CosmosDB

Open vlev opened this issue 3 years ago • 1 comments

Hello,

We are looking into an option to use occurrent with Azure CosmosDB witch supports MondoDB API ver. 4.0 Could you please tell why there is a requirement to use MongoDB 4.2? Will occurrent mongodb event-store implementations fail to work with slightly old api implementation?

Vitaliy

vlev avatar Aug 02 '21 12:08 vlev

Hi vlev,

Sorry for the late response, I've been on vacation.

If I remember correctly it has to do with MongoDB change streams and resume options (this specifically: https://docs.mongodb.com/manual/changeStreams/#startafter-for-change-streams). But if you're not deleting the entire database or event collection then I think it'll work anyway. It would be great if you could try it out, and tell me if it does work for you. If not, I can probably make it work for 4.0 as well :)

/Johan

johanhaleby avatar Aug 09 '21 05:08 johanhaleby