public class KafkaSupervisorTuningConfig extends KafkaIndexTaskTuningConfig implements SeekableStreamSupervisorTuningConfig
DEFAULT_CHAT_RETRIES, DEFAULT_HTTP_TIMEOUT, DEFAULT_SHUTDOWN_TIMEOUTDEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_BYTES_IN_MEMORY, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_ROWS_IN_MEMORY, DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS| Constructor and Description |
|---|
KafkaSupervisorTuningConfig(Integer maxRowsInMemory,
Long maxBytesInMemory,
Integer maxRowsPerSegment,
Long maxTotalRows,
org.joda.time.Period intermediatePersistPeriod,
File basePersistDirectory,
Integer maxPendingPersists,
IndexSpec indexSpec,
Boolean buildV9Directly,
Boolean reportParseExceptions,
Long handoffConditionTimeout,
Boolean resetOffsetAutomatically,
org.apache.druid.segment.writeout.SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
Integer workerThreads,
Integer chatThreads,
Long chatRetries,
org.joda.time.Period httpTimeout,
org.joda.time.Period shutdownTimeout,
org.joda.time.Period offsetFetchPeriod,
org.joda.time.Period intermediateHandoffPeriod,
Boolean logParseExceptions,
Integer maxParseExceptions,
Integer maxSavedParseExceptions) |
| Modifier and Type | Method and Description |
|---|---|
SeekableStreamIndexTaskTuningConfig |
convertToTaskTuningConfig() |
Long |
getChatRetries() |
Integer |
getChatThreads() |
org.joda.time.Duration |
getHttpTimeout() |
org.joda.time.Duration |
getOffsetFetchPeriod() |
org.joda.time.Duration |
getShutdownTimeout() |
Integer |
getWorkerThreads() |
String |
toString() |
withBasePersistDirectoryequals, getBasePersistDirectory, getBuildV9Directly, getHandoffConditionTimeout, getIndexSpec, getIntermediateHandoffPeriod, getIntermediatePersistPeriod, getMaxBytesInMemory, getMaxParseExceptions, getMaxPendingPersists, getMaxRowsInMemory, getMaxRowsPerSegment, getMaxSavedParseExceptions, getMaxTotalRows, getSegmentWriteOutMediumFactory, hashCode, isLogParseExceptions, isReportParseExceptions, isResetOffsetAutomatically, isSkipSequenceNumberAvailabilityCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitdefaultDurationpublic KafkaSupervisorTuningConfig(Integer maxRowsInMemory, Long maxBytesInMemory, Integer maxRowsPerSegment, Long maxTotalRows, org.joda.time.Period intermediatePersistPeriod, File basePersistDirectory, Integer maxPendingPersists, IndexSpec indexSpec, Boolean buildV9Directly, Boolean reportParseExceptions, Long handoffConditionTimeout, Boolean resetOffsetAutomatically, @Nullable org.apache.druid.segment.writeout.SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, Integer workerThreads, Integer chatThreads, Long chatRetries, org.joda.time.Period httpTimeout, org.joda.time.Period shutdownTimeout, org.joda.time.Period offsetFetchPeriod, org.joda.time.Period intermediateHandoffPeriod, @Nullable Boolean logParseExceptions, @Nullable Integer maxParseExceptions, @Nullable Integer maxSavedParseExceptions)
public Integer getWorkerThreads()
getWorkerThreads in interface SeekableStreamSupervisorTuningConfigpublic Integer getChatThreads()
getChatThreads in interface SeekableStreamSupervisorTuningConfigpublic Long getChatRetries()
getChatRetries in interface SeekableStreamSupervisorTuningConfigpublic org.joda.time.Duration getHttpTimeout()
getHttpTimeout in interface SeekableStreamSupervisorTuningConfigpublic org.joda.time.Duration getShutdownTimeout()
getShutdownTimeout in interface SeekableStreamSupervisorTuningConfigpublic org.joda.time.Duration getOffsetFetchPeriod()
public String toString()
toString in class KafkaIndexTaskTuningConfigpublic SeekableStreamIndexTaskTuningConfig convertToTaskTuningConfig()
convertToTaskTuningConfig in interface SeekableStreamSupervisorTuningConfigCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.