public class KafkaClientHdfsTopo extends Object
This topo helps measure speed of reading from Kafka and writing to Hdfs. Spout Reads from Kafka. Bolt writes to Hdfs
Modifier and Type | Class and Description |
---|---|
static class |
KafkaClientHdfsTopo.LineWriter |
Modifier and Type | Field and Description |
---|---|
static String |
BOLT_ID |
static String |
BOLT_NUM |
static int |
DEFAULT_BOLT_NUM |
static int |
DEFAULT_HDFS_BATCH |
static int |
DEFAULT_SPOUT_NUM |
static String |
HDFS_BATCH |
static String |
HDFS_PATH |
static String |
HDFS_URI |
static String |
KAFKA_BOOTSTRAP_HOSTS |
static String |
KAFKA_TOPIC |
static String |
SPOUT_ID |
static String |
SPOUT_NUM |
static String |
TOPOLOGY_NAME |
Constructor and Description |
---|
KafkaClientHdfsTopo() |
public static final String SPOUT_NUM
public static final String BOLT_NUM
public static final String KAFKA_TOPIC
public static final String KAFKA_BOOTSTRAP_HOSTS
public static final String HDFS_URI
public static final String HDFS_PATH
public static final String HDFS_BATCH
public static final int DEFAULT_SPOUT_NUM
public static final int DEFAULT_BOLT_NUM
public static final int DEFAULT_HDFS_BATCH
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.