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 AppenderatorConfig
public int getMaxRowsPerSegment()
public org.joda.time.Period getIntermediatePersistPeriod()
getIntermediatePersistPeriod
in interface AppenderatorConfig
public File getBasePersistDirectory()
getBasePersistDirectory
in interface AppenderatorConfig
public int getMaxPendingPersists()
getMaxPendingPersists
in interface AppenderatorConfig
public IndexSpec getIndexSpec()
getIndexSpec
in interface AppenderatorConfig
public boolean getBuildV9Directly()
public boolean isReportParseExceptions()
isReportParseExceptions
in interface AppenderatorConfig
public long getHandoffConditionTimeout()
public boolean isResetOffsetAutomatically()
public KafkaTuningConfig withBasePersistDirectory(File dir)
public KafkaTuningConfig withMaxRowsInMemory(int rows)
Copyright © 2011–2017. All rights reserved.