Package org.apache.storm.perf
Class FileReadWordCountTopo
java.lang.Object
org.apache.storm.perf.FileReadWordCountTopo
This topo helps measure speed of word count.
Spout loads a file into memory on initialization, then emits the lines in an endless loop.
-
Field Details
-
SPOUT_ID
- See Also:
-
COUNT_ID
- See Also:
-
SPLIT_ID
- See Also:
-
TOPOLOGY_NAME
- See Also:
-
SPOUT_NUM
- See Also:
-
SPLIT_NUM
- See Also:
-
COUNT_NUM
- See Also:
-
INPUT_FILE
- See Also:
-
DEFAULT_SPOUT_NUM
public static final int DEFAULT_SPOUT_NUM- See Also:
-
DEFAULT_SPLIT_BOLT_NUM
public static final int DEFAULT_SPLIT_BOLT_NUM- See Also:
-
DEFAULT_COUNT_BOLT_NUM
public static final int DEFAULT_COUNT_BOLT_NUM- See Also:
-
-
Constructor Details
-
FileReadWordCountTopo
public FileReadWordCountTopo()
-
-
Method Details
-
main
- Throws:
Exception
-