Redis adapter for the eip (Enterprise Integration Patterns) module, providing a PubSub and Queue implementation on top of Redis for distributed event aggregation and resource throttling across multiple nodes. Current stable version is 1.7.1. The package is mature with a stable API, designed specifically for use with the eip framework version ^1.8.0 and redis client ^2.0.0. It enables cross-node pub/sub patterns needed for rate limiting and circuit breaking in distributed Node.js applications. Differentiators include tight integration with eip patterns and explicit Redis connection management. Release cadence is low; last update was years ago.
npm install eip-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize PubSub and Queue from eip-redis with Redis clients and use them with eip throttle.
Upgrade Node.js to version 6.0.0 or later, or use an older version of the package if available.
Use `return_buffer: true` when creating the subscriber client.
Always provide a unique namespace string to avoid event collisions.
Install and require `eip-timer` and pass it as `timer` option.
Use `PubSub` instead of `RedisPubSub`.
Ensure eip version ^1.8.0 is installed: `npm install eip@^1.8.0`
Start Redis server: `redis-server` or specify correct host/port in `redis.createClient()` options.
Create redisSub with `redis.createClient({ return_buffers: true })`Use `const { PubSub } = require('eip-redis');`