public class KafkaTuningConfig extends Object implements TuningConfig, AppenderatorConfig
| Constructor and Description |
|---|
KafkaTuningConfig(Integer maxRowsInMemory,
Integer maxRowsPerSegment,
org.joda.time.Period intermediatePersistPeriod,
File basePersistDirectory,
Integer maxPendingPersists,
IndexSpec indexSpec,
Boolean buildV9Directly,
Boolean reportParseExceptions,
Long handoffConditionTimeout,
Boolean resetOffsetAutomatically) |
| Modifier and Type | Method and Description |
|---|---|
static KafkaTuningConfig |
copyOf(KafkaTuningConfig config) |
boolean |
equals(Object o) |
File |
getBasePersistDirectory() |
boolean |
getBuildV9Directly() |
long |
getHandoffConditionTimeout() |
IndexSpec |
getIndexSpec() |
org.joda.time.Period |
getIntermediatePersistPeriod() |
int |
getMaxPendingPersists() |
int |
getMaxRowsInMemory() |
int |
getMaxRowsPerSegment() |
int |
hashCode() |
boolean |
isReportParseExceptions() |
boolean |
isResetOffsetAutomatically() |
String |
toString() |
KafkaTuningConfig |
withBasePersistDirectory(File dir) |
KafkaTuningConfig |
withMaxRowsInMemory(int rows) |
public KafkaTuningConfig(Integer maxRowsInMemory, Integer maxRowsPerSegment, org.joda.time.Period intermediatePersistPeriod, File basePersistDirectory, Integer maxPendingPersists, IndexSpec indexSpec, Boolean buildV9Directly, Boolean reportParseExceptions, Long handoffConditionTimeout, Boolean resetOffsetAutomatically)
public static KafkaTuningConfig copyOf(KafkaTuningConfig config)
public int getMaxRowsInMemory()
getMaxRowsInMemory in interface AppenderatorConfigpublic int getMaxRowsPerSegment()
public org.joda.time.Period getIntermediatePersistPeriod()
getIntermediatePersistPeriod in interface AppenderatorConfigpublic File getBasePersistDirectory()
getBasePersistDirectory in interface AppenderatorConfigpublic int getMaxPendingPersists()
getMaxPendingPersists in interface AppenderatorConfigpublic IndexSpec getIndexSpec()
getIndexSpec in interface AppenderatorConfigpublic boolean getBuildV9Directly()
public boolean isReportParseExceptions()
isReportParseExceptions in interface AppenderatorConfigpublic long getHandoffConditionTimeout()
public boolean isResetOffsetAutomatically()
public KafkaTuningConfig withBasePersistDirectory(File dir)
public KafkaTuningConfig withMaxRowsInMemory(int rows)
Copyright © 2011–2017. All rights reserved.