Skip to content

Storm DRPC client for php. Simply connect to any storm DRPC server by passing in the host and port of targer DRPC server.

License

Notifications You must be signed in to change notification settings

mithunsatheesh/php-drpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-DRPC

php drpc client written on top of thrift library to connect to drpc topologies running on storm.

How To Use

The preferred method of installation is via Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:

composer require mithunsatheesh/php-drpc

Create an instance of the drpc client to use:

// Require the Composer autoloader.
require 'vendor/autoload.php';

// Instantiate the DRPC client.
$drpc = new DRPC("xxx.xxx.x.xx",3772,NULL);
$result = $drpc->execute("CallFunctionName",$params);

Still not working?

If you still got trouble mail me the issue

About

Storm DRPC client for php. Simply connect to any storm DRPC server by passing in the host and port of targer DRPC server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages