Package org.apache.pinot.spi.stream
Class PartitionLevelStreamConfig
- java.lang.Object
-
- org.apache.pinot.spi.stream.StreamConfig
-
- org.apache.pinot.spi.stream.PartitionLevelStreamConfig
-
public class PartitionLevelStreamConfig extends StreamConfig
AStreamConfigfor LLC partition level stream, which overrides some properties for low-level consumer. This can be removed once we remove HLC implementation from the code
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.pinot.spi.stream.StreamConfig
StreamConfig.ConsumerType
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.spi.stream.StreamConfig
DEFAULT_CONSUMER_FACTORY_CLASS_NAME_STRING, DEFAULT_FLUSH_AUTOTUNE_INITIAL_ROWS, DEFAULT_FLUSH_THRESHOLD_ROWS, DEFAULT_FLUSH_THRESHOLD_SEGMENT_SIZE_BYTES, DEFAULT_FLUSH_THRESHOLD_TIME_MILLIS, DEFAULT_IDLE_TIMEOUT_MILLIS, DEFAULT_STREAM_CONNECTION_TIMEOUT_MILLIS, DEFAULT_STREAM_FETCH_TIMEOUT_MILLIS
-
-
Constructor Summary
Constructors Constructor Description PartitionLevelStreamConfig(String tableNameWithType, Map<String,String> streamConfigMap)
-
Method Summary
Modifier and Type Method Description protected intextractFlushThresholdRows(Map<String,String> streamConfigMap)protected longextractFlushThresholdTimeMillis(Map<String,String> streamConfigMap)-
Methods inherited from class org.apache.pinot.spi.stream.StreamConfig
equals, getConnectionTimeoutMillis, getConsumerFactoryClassName, getConsumerTypes, getDecoderClass, getDecoderProperties, getFetchTimeoutMillis, getFlushAutotuneInitialRows, getFlushThresholdRows, getFlushThresholdSegmentSizeBytes, getFlushThresholdTimeMillis, getGroupId, getIdleTimeoutMillis, getOffsetCriteria, getStreamConfigsMap, getTableNameWithType, getTopicConsumptionRateLimit, getTopicName, getType, hashCode, hasHighLevelConsumerType, hasLowLevelConsumerType, setOffsetCriteria, toString
-
-
-
-
Method Detail
-
extractFlushThresholdRows
protected int extractFlushThresholdRows(Map<String,String> streamConfigMap)
- Overrides:
extractFlushThresholdRowsin classStreamConfig
-
extractFlushThresholdTimeMillis
protected long extractFlushThresholdTimeMillis(Map<String,String> streamConfigMap)
- Overrides:
extractFlushThresholdTimeMillisin classStreamConfig
-
-