public class KafkaSupervisorTuningConfig extends KafkaIndexTaskTuningConfig implements SeekableStreamSupervisorTuningConfig
DEFAULT_CHAT_RETRIES, DEFAULT_HTTP_TIMEOUT, DEFAULT_REPARTITION_TRANSITION_DURATION, DEFAULT_SHUTDOWN_TIMEOUT| Constructor and Description |
|---|
KafkaSupervisorTuningConfig(Integer maxRowsInMemory,
Long maxBytesInMemory,
Integer maxRowsPerSegment,
Long maxTotalRows,
org.joda.time.Period intermediatePersistPeriod,
File basePersistDirectory,
Integer maxPendingPersists,
org.apache.druid.segment.IndexSpec indexSpec,
org.apache.druid.segment.IndexSpec indexSpecForIntermediatePersists,
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 |
|---|---|
KafkaIndexTaskTuningConfig |
convertToTaskTuningConfig() |
static KafkaSupervisorTuningConfig |
defaultConfig() |
Long |
getChatRetries() |
Integer |
getChatThreads() |
org.joda.time.Duration |
getHttpTimeout() |
org.joda.time.Duration |
getOffsetFetchPeriod() |
org.joda.time.Duration |
getRepartitionTransitionDuration() |
org.joda.time.Duration |
getShutdownTimeout() |
Integer |
getWorkerThreads() |
String |
toString() |
withBasePersistDirectoryequals, getBasePersistDirectory, getBuildV9Directly, getHandoffConditionTimeout, getIndexSpec, getIndexSpecForIntermediatePersists, getIntermediateHandoffPeriod, getIntermediatePersistPeriod, getMaxBytesInMemory, getMaxParseExceptions, getMaxPendingPersists, getMaxRowsInMemory, getMaxRowsPerSegment, getMaxSavedParseExceptions, getMaxTotalRows, getPartitionsSpec, 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, org.apache.druid.segment.IndexSpec indexSpec, @Nullable org.apache.druid.segment.IndexSpec indexSpecForIntermediatePersists, 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 static KafkaSupervisorTuningConfig defaultConfig()
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 getRepartitionTransitionDuration()
getRepartitionTransitionDuration in interface SeekableStreamSupervisorTuningConfigpublic org.joda.time.Duration getOffsetFetchPeriod()
public String toString()
toString in class KafkaIndexTaskTuningConfigpublic KafkaIndexTaskTuningConfig convertToTaskTuningConfig()
convertToTaskTuningConfig in interface SeekableStreamSupervisorTuningConfigCopyright © 2022 The Apache Software Foundation. All rights reserved.