0.0.8 • Published 12 years ago

node-drpc v0.0.8

Weekly downloads
36
License
-
Repository
github
Last release
12 years ago

Node-DRPC -- Simple Storm DRPC wrapper

Install

Or from source:

Super simple to use

Storm DRPC client in javascript for nodejs. The client encapsulates Storm-thrift related details. You can simply connect to any DRPC client by passing in the hostname/ipaddress and port no. of the target DRPC server.

Please, contact for support at Twitter @rakatti or rakatti@gmail.com.

var request = require('node-drpc');

var nodeDrpcClient =  new  NodeDRPCClient( hostName, portNo, timeout);

nodeDrpcClient.execute( Storm function Name, Storm function parameter as JSON string, function(err, response) {
  if (err) {
    console.error(err);
  } else {
    console.log("Storm function response :", response);
    // implement your logic here
  }
});
0.0.8

12 years ago

0.0.7

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago