cult-of-coders / redis-oplog

Redis Oplog implementation to fully replace MongoDB Oplog in Meteor
MIT License
376 stars 81 forks source link

How to use Vent only #359

Closed afrokick closed 4 years ago

afrokick commented 4 years ago

I want to use only Vent without changes in observeChanges and mongoCollection.

Is it possible without creating a fork?

theodorDiaconu commented 4 years ago

Yes. Just make sure you disable redis-oplog by default (overridePublishFunction) thingie. Take a look at the docs.

afrokick commented 4 years ago

@theodorDiaconu thank you. But could you please give me a file where it uses? I can't find via GitHub search overridePublishFunction in js files (only in lib/config.js and testing/boot.js).

afrokick commented 4 years ago

I found that it was removed in https://github.com/cult-of-coders/redis-oplog/commit/8d6dd336b3e8b65f9e946ec01643368bc074042b#diff-3e18cf2294c02344381d224486ff0d2dL31-L34

afrokick commented 4 years ago

Similar to https://github.com/cult-of-coders/redis-oplog/issues/245

afrokick commented 4 years ago

https://github.com/cult-of-coders/redis-oplog/issues/323