@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,String> tags,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
void |
validateSetup(Server server,
Query query) |
close, create, doWrite, firstNonNull, getConcatedTypeNameValues, getSettings, getTypeNames, isDebugEnabled, start, toStringpublic void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionprotected void internalWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
internalWrite in class BaseOutputWriterExceptionCopyright © 2010-2017 JmxTrans team. All Rights Reserved.