{"repo":"radekmie/changestream-to-redis","free":true,"listed":false,"github":"https://github.com/radekmie/changestream-to-redis","clone":"git clone https://github.com/radekmie/changestream-to-redis.git","description":"Automatically publish MongoDB changes to Redis for Meteor.","language":"Rust","stars":25,"topics":["meteor","meteorjs","mongodb","redis","hacktoberfest"],"license":"MIT","category":"databases-storage","readme_excerpt":"changestream-to-redis This program listens to a MongoDB Change Stream, and publishes changes to Redis. It is designed to work with the cultofcoders:redis-oplog Meteor package and meant as an alternative to oplogtoredis with support for protectAgainstRaceConditions: false . Setup 1. Install redis-oplog with the following configuration: externalRedisPublisher: true . globalRedisPrefix: \"${database}.\" , e.g., globalRedisPrefix: \"meteor.\" . 2. Deploy changestream-to-redis with the following environmental variables: (required) MONGO URL , e.g., mongodb://localhost:27017/meteor . (required) REDIS URL , e.g., redis://localhost:6379/1 . (optional) DEBUG . If set, all events are logged before being sent to Redis. (optional) DEDUPLICATION , e.g., 120 . If set, all events are deduplicated on Redis for this amount of seconds. That allows you to deploy multiple instances of changestream-to-redis listening to the same MongoDB database and pushing to the same Redis database. (optional) EXCLUDED COLLECTIONS , e.g., exports,logs . If set, events from these collections will be ignored (i.e., won't get published to Redis). It allows you reduce changestream-to-redis and Redis load by ignoring write-intensive collections that don't require reactivity. (optional) FULL DOCUMENT . If not set, only IDs will be sent to Redis, i.e., it will behave just like oplogtoredis . If set, it has to be one of the values accepted by MongoDB ( required , updateLookup , or whenAvailable ), and you can configure you","default_branch":null,"files":null,"tree":[],"storefront":"/r/radekmie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/radekmie/changestream-to-redis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}