public class KafkaSpoutNullBoltTopo extends Object
This topo helps measure speed of reading from Kafka Spout Reads from Kafka. Bolt acks and discards tuples
| Modifier and Type | Field and Description | 
|---|---|
| static String | BOLT_ID | 
| static String | BOLT_NUM | 
| static int | DEFAULT_BOLT_NUM | 
| static int | DEFAULT_SPOUT_NUM | 
| static String | KAFKA_TOPIC | 
| static String | SPOUT_ID | 
| static String | SPOUT_NUM | 
| static String | TOPOLOGY_NAME | 
| static String | ZOOKEEPER_URI | 
| Constructor and Description | 
|---|
| KafkaSpoutNullBoltTopo() | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | getInt(Map map,
      Object key,
      int def) | 
| static String | getStr(Map map,
      Object key) | 
| static StormTopology | getTopology(Map config) | 
| static void | main(String[] args)Copies text file content from sourceDir to destinationDir. | 
public static final String SPOUT_NUM
public static final String BOLT_NUM
public static final String KAFKA_TOPIC
public static final String ZOOKEEPER_URI
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
public static StormTopology getTopology(Map config)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.