public class StreamAvroIntoKafkaCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
StreamAvroIntoKafkaCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
StreamAvroIntoKafkaCommand |
setAvroFile(String avroFile) |
StreamAvroIntoKafkaCommand |
setKafkaBrokerList(String kafkaBrokerList) |
StreamAvroIntoKafkaCommand |
setKafkaTopic(String kafkaTopic) |
StreamAvroIntoKafkaCommand |
setOutputFormat(String outputFormat) |
StreamAvroIntoKafkaCommand |
setZkAddress(String zkAddress) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestcleanup, printExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic String description()
description in interface Commandpublic boolean execute()
throws IOException
execute in interface CommandIOExceptionpublic StreamAvroIntoKafkaCommand setAvroFile(String avroFile)
public StreamAvroIntoKafkaCommand setKafkaBrokerList(String kafkaBrokerList)
public StreamAvroIntoKafkaCommand setKafkaTopic(String kafkaTopic)
public StreamAvroIntoKafkaCommand setZkAddress(String zkAddress)
public StreamAvroIntoKafkaCommand setOutputFormat(String outputFormat)
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.