You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should think about the different ways that someone might want to use this + redis-oplog and provide configuration options for limiting how much of the oplog is consumed. Some ideas:
The default configuration of redis-oplog assumes that there's only one database on the MongoDB server that's being used with redis-oplog. Maybe oplogtoredis should have a matching "single database" mode where we publish redis messages without the database name, so this simple use-case can be accommodated without using the globalChannelPrefix option in redis-oplog
The MongoDB server might have other unrelated databases on it, and we should let users whitelist or blacklist databases that we don't need to process
The MongoDB database might have some collections that don't need real-time updates or have very high write throughputs that we can't support. We should let users whitelist or blacklist specific collections as needed.
However we handle this, we should provide guidance on how to appropriately configure oplogtoredis and redis-oplog so they work together correctly.
The text was updated successfully, but these errors were encountered:
Maybe oplogtoredis should have a matching "single database" mode where we publish redis messages without the database name, so this simple use-case can be accommodated without using the globalChannelPrefix option in redis-oplog
Does that mean that oplogtoredis listens to all of the databases in a cluster once it's set up? It's not clearly stated in the docs but it's an important note.
For example, we do have multiple environments hosted in a single cluster, and we planned to have two oplogtoredis instances for each database. If my assumptions about the above are true, we'd only need one, right?
We should think about the different ways that someone might want to use this + redis-oplog and provide configuration options for limiting how much of the oplog is consumed. Some ideas:
The default configuration of redis-oplog assumes that there's only one database on the MongoDB server that's being used with redis-oplog. Maybe oplogtoredis should have a matching "single database" mode where we publish redis messages without the database name, so this simple use-case can be accommodated without using the
globalChannelPrefix
option in redis-oplogThe MongoDB server might have other unrelated databases on it, and we should let users whitelist or blacklist databases that we don't need to process
The MongoDB database might have some collections that don't need real-time updates or have very high write throughputs that we can't support. We should let users whitelist or blacklist specific collections as needed.
However we handle this, we should provide guidance on how to appropriately configure oplogtoredis and redis-oplog so they work together correctly.
The text was updated successfully, but these errors were encountered: