public class ConstSpoutOnlyTopo extends Object
This topo helps measure how fast a spout can produce data (so no bolts are attached) Spout generates a stream of a fixed string.
Modifier and Type | Field and Description |
---|---|
static String |
SPOUT_ID |
static String |
TOPOLOGY_NAME |
Constructor and Description |
---|
ConstSpoutOnlyTopo() |
Modifier and Type | Method and Description |
---|---|
static StormTopology |
getTopology() |
static void |
main(String[] args)
ConstSpout only topology (No bolts)
|
public static final String TOPOLOGY_NAME
public static final String SPOUT_ID
public static StormTopology getTopology()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.