node package manager


seneca-redis-sync-transport - a Seneca plugin

Seneca Redis Synchronized Transport Plugin

This plugin provides the redis pub/sub synchronized transport channel for micro-service messages.

NOTE: Listeners are synchronized via redis incr so that messages are handled no more than once.

ALSO READ: The seneca-transport readme has lots of introductory material about message transports. Start there if you have not used a message transport before.

For a gentle introduction to Seneca itself, see the site.

For questions: @rjrodger @zbangazbanga

Current Version: 0.1.0

Tested on: Seneca 0.6.1, Node 0.10.36


npm install seneca-redis-sync-transport

You'll also need redis.

Quick Example

  .add('foo:two',function(args,done){ done(null,{}) })
  .client( {type:'redis-sync',pin:'foo:one,bar:*'} )
  .listen( {type:'redis-sync',pin:'foo:two,bar:*'} )