Storm UI Client
Http client for the apache storm ui rest api.
installing
npm i storm-http
using
var storm = ; var client = storm; client;
methods
topologies(cb)
: get the summary of all running topologiestopology(id, [timespan], cb)
: get topology info by id (default timespan all-time)workers(id, cb)
: get the list of workers for a topologycluster(cb)
: get the cluster summaryclusterConfig(cb)
: get the cluster configurationcomponent(topologyId, componentId, timespan, cb)
: get component info from the specified topology (default timespan all-time)supervisor(cb)
: get the supervisor summarykill(id, [waitTime], cb)
: kill a topology (default wait-time 30 seconds)rebalance(id, [waitTime], cb)
: rebalance a topology (default wait-time 30 seconds)activate(id, cb)
: activate a topologydeactivate(id, cb)
: deactivate a topology