A plugin that integrates Redis as a caching layer for Hemera microservices, using the Node Redis driver. Version 5.0.0 is the current stable release. It requires hemera-joi for validation and is part of the Hemera ecosystem. Designed for microservice caching with NATS messaging; last updated several years ago (maintenance mode).
npm install hemera-redis-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate Hemera with NATS and add the Redis cache plugin.
Upgrade Node.js to 8.0.0 or newer.
Ensure hemera.use(require('hemera-joi')) is called before hemera-redis-cache.Consider forking or migrating to alternative caching solutions.
Run: npm install hemera-joi
Start Redis: redis-server or docker-compose up (see README).
Ensure you created hemera with new Hemera(nats) and have NATS connection.