sunnycode / zkws-server-js

Zookeeper <--> WebSocket service bridge written with Node.JS and Socket.IO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSocket bridge for ZooKeeper

Used for fast failover and dynamic configuration.

Point this server at a ZooKeeper cluster. Point UpdateClient instances at this server instance.

Clients will receive data values upon connecting, as well as after any disconnect/reconnect operations.

Usage

node lib/zkws-server.js 8080 'localhost:2181'

  • The first argument is the port to listen on
  • The second argument is the zookeeper connection string

About

Zookeeper <--> WebSocket service bridge written with Node.JS and Socket.IO


Languages

Language:CoffeeScript 100.0%