npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

defcon-redis-gateway

0.1.0 • Public • Published

DEFCON Redis Gateway Plugin

Receives or forwards events via Redis pubsub

Prerequisits

  1. DEFCON
  2. redis

Installation

  1. '''cd $DEFCON_INSTALL_DIR'''
  2. '''npm install defcon-redis-gateway'''
  3. '''Enable and configure 'defcon-redis-gateway' in your DEFCON configuration file, e.g. '''json { "plugins": { "installed": [ "defcon-redis-gateway" ], "defcon-redis-gateway": { "subscribers": [ { "host": "localhost", "port": 6379, "db": 0, "patterns": ["defcon/www//error", "defcon/www//release"], "options": { "enable_offline_queue": false } } ], "publishers": [ { "host": "remotehost", "port": 6379, "db": 0, "channel": "defcon", "options": { "enable_offline_queue": false } } ] }
    } } '''
  4. Be careful not to create an infinite loop with your publish and subscribe configuration
  5. Restart defcon (you can do this via '''kill -s USRSIG2 ''' if you want zero downtime)

Keywords

none

install

npm i defcon-redis-gateway

Downloadsweekly downloads

0

version

0.1.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability