public class MirrorMaker extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
consumerConfig |
static Properties |
consumerProps |
static String |
dstTopicName |
static int |
nPartitions |
static String |
producerConfig |
static Properties |
producerProps |
static String |
srcTopicName |
static boolean |
stopOnErr |
| Constructor and Description |
|---|
MirrorMaker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initConsumer() |
static void |
initProducer() |
static void |
main(String[] args) |
static void |
usage() |
static void |
verifyAndPossiblyCreateDstTopic() |
public static int nPartitions
public static String srcTopicName
public static String dstTopicName
public static String consumerConfig
public static String producerConfig
public static boolean stopOnErr
public static Properties consumerProps
public static Properties producerProps
public static void usage()
public static void main(String[] args) throws IOException
IOExceptionpublic static void verifyAndPossiblyCreateDstTopic()
public static void initProducer()
throws IOException
IOExceptionpublic static void initConsumer()
throws IOException
IOExceptionCopyright © 2017 Mapr Technologies, Inc.. All rights reserved.