public class EventCount extends Object
The basic scenario topology that uses EventHubSpout with PartialCountBolt and GlobalCountBolt. To submit this topology: storm jar {jarfile} {classname} {topologyname} {spoutconffile}
| Modifier and Type | Field and Description | 
|---|---|
| protected int | numWorkers | 
| protected EventHubSpoutConfig | spoutConfig | 
| Constructor and Description | 
|---|
| EventCount() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected StormTopology | buildTopology(EventHubSpout eventHubSpout) | 
| protected EventHubSpout | createEventHubSpout() | 
| static void | main(String[] args) | 
| protected void | readEHConfig(String[] args) | 
| protected void | runScenario(String[] args) | 
| protected void | submitTopology(String[] args,
              StormTopology topology) | 
protected EventHubSpoutConfig spoutConfig
protected int numWorkers
protected EventHubSpout createEventHubSpout()
protected StormTopology buildTopology(EventHubSpout eventHubSpout)
protected void submitTopology(String[] args, StormTopology topology) throws Exception
ExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.