@NotThreadSafe public class KafkaWriter extends BaseOutputWriter
BINARY_PATH, BOOLEAN_AS_NUMBER, DEBUG, HOST, OUTPUT_FILE, PORT, TEMPLATE_FILE, TYPE_NAMES| Constructor and Description |
|---|
KafkaWriter(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
String rootPrefix,
Boolean debugEnabled,
String topics,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
internalWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
void |
validateSetup(Server server,
Query query) |
doWrite, firstNonNull, getConcatedTypeNameValues, getSettings, getTypeNames, isDebugEnabled, setSettings, start, stoppublic void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionpublic void internalWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
internalWrite in class BaseOutputWriterExceptionCopyright © 2015. All Rights Reserved.