We have spring boot based microservices app which are deployed in cloud with multiple instances of pod. We are using mongo db as our primary database to perform CRUD operations through rest apis.
Now there is requirement to sync/replicate collections into multiple different dbs which are located in different cluster which are updated by rest apis. There is changesStream feature mongo provides which we are aware but we also explored option of capturing raw mongo command from MongoComnandListener and running that command into different dbs in async manner and it works. We need to know any problems/limitations that we might face or should be aware of before actual implementation of MongoComnandListener approach.
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Logs are being spammed to console. How can I disable? | 1 | 1.5k | Jun 2024 |
Best Practices for Handling Schema Changes in MongoDB | 0 | 47 | Sep 2024 |
useNewUrlParser is a deprecated - What to do? | 2 | 2.3k | Nov 2024 |
[EF Provider] Support for HasIndex on nested objects | 10 | 104 | Jan 29 |
C# Driver serializing enums as ints in aggregation causing issues using LINQ lambdas | 1 | 51 | Feb 6 |