public class ConstSpoutIdBoltNullBoltTopo extends Object
ConstSpout -> IdBolt -> DevNullBolt This topology measures speed of messaging between spouts->bolt and bolt->bolt ConstSpout : Continuously emits a constant string IdBolt : clones and emits input tuples DevNullBolt : discards incoming tuples
Modifier and Type | Field and Description |
---|---|
static String |
BOLT1_COUNT |
static String |
BOLT1_ID |
static String |
BOLT2_COUNT |
static String |
BOLT2_ID |
static String |
SPOUT_COUNT |
static String |
SPOUT_ID |
static String |
TOPOLOGY_NAME |
Constructor and Description |
---|
ConstSpoutIdBoltNullBoltTopo() |
Modifier and Type | Method and Description |
---|---|
static StormTopology |
getTopology(Map conf) |
static void |
main(String[] args) |
public static final String TOPOLOGY_NAME
public static final String SPOUT_ID
public static final String BOLT1_ID
public static final String BOLT2_ID
public static final String BOLT1_COUNT
public static final String BOLT2_COUNT
public static final String SPOUT_COUNT
public static StormTopology getTopology(Map conf)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.