Databases Reference
In-Depth Information
drpc . shutdown ();
}
Create a LocalDRPC object that runs the DRPC server locally. Next, create a topology
builder and add the bolt to the topology. To test the topology, use the execute method
on your DRPC object.
To connect to a remote DRPC server, use the DRPCClient class. The
DRPC server exposes a Thrift API that could be used from many lan-
guages, and it's the same API if you run DRPC server in locally or remote.
To submit a topology to a Storm cluster, use the method createRemote
Topology of the builder object instead of createLocalTopology , which
uses the DRPC configuration from Storm config.
 
Search WWH ::




Custom Search