For this single publication, could you do:
NO_MERGE_NO_HISTORY- Switch the cursor to use polling mode
- Set
pollingIntervalMsas low as required (this will determine the maximum amount of time the published data could be out-of-date) - Increase/decrease
pollingThrottleMsas required (this will make it so that even if a server does a bunch of db updates then that server still won’t immediately republish) - Disable redis oplog for this collection (configured using
SomeCollection.configureRedisOplogas shown in the redis oplog docs)
Whether or not this strategy works is dependent on (a) how expensive the polling is and (b) how much latency in the reactivity is acceptable.