public class KafkaClientSpoutNullBoltTopo extends Object
Benchmark topology for measuring spout read/emit/ack performance. The spout reads and emits tuples. The bolt acks and discards received tuples.
Modifier and Type | Field and Description |
---|---|
static String |
BOLT_ID |
static String |
BOLT_NUM |
static String |
BOOTSTRAP_SERVERS |
static int |
DEFAULT_BOLT_NUM |
static int |
DEFAULT_SPOUT_NUM |
static String |
KAFKA_TOPIC |
static String |
OFFSET_COMMIT_PERIOD_MS |
static String |
PROCESSING_GUARANTEE |
static String |
SPOUT_ID |
static String |
SPOUT_NUM |
static String |
TOPOLOGY_NAME |
Constructor and Description |
---|
KafkaClientSpoutNullBoltTopo() |
Modifier and Type | Method and Description |
---|---|
static StormTopology |
getTopology(Map<String,Object> config)
Create and configure the topology.
|
static void |
main(String[] args)
Start the topology.
|
public static final String SPOUT_NUM
public static final String BOLT_NUM
public static final String BOOTSTRAP_SERVERS
public static final String KAFKA_TOPIC
public static final String PROCESSING_GUARANTEE
public static final String OFFSET_COMMIT_PERIOD_MS
public static final int DEFAULT_SPOUT_NUM
public static final int DEFAULT_BOLT_NUM
public static final String TOPOLOGY_NAME
public static final String SPOUT_ID
public static final String BOLT_ID
Copyright © 2019 The Apache Software Foundation. All rights reserved.