public class RollingTopWords extends ConfigurableTopology
conf
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
protected int |
run(String[] args)
Submits (runs) the topology.
|
protected int run(String[] args)
Usage: "RollingTopWords [topology-name] [-local]"
By default, the topology is run locally under the name "slidingWindowCounts".
Examples: ``` # Runs in remote/cluster mode, with topology name "production-topology" $ storm jar storm-starter-jar-with-dependencies.jar org.apache.storm.starter.RollingTopWords production-topology ```
run
in class ConfigurableTopology
args
- First positional argument (optional) is topology name, second
positional argument (optional) defines whether to run the topology
locally ("-local") or remotely, i.e. on a real cluster.Copyright © 2023 The Apache Software Foundation. All rights reserved.