Class TopicConfigBuilder
Builder for TopicConfig
public class TopicConfigBuilder : GenericConfigBuilder<TopicConfigBuilder>, INotifyPropertyChanged, IGenericSerDesFactory, IDisposable, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
TopicConfigBuilder
- Implements
- Inherited Members
Properties
CleanupPolicy
Manages CLEANUP_POLICY_CONFIG
public TopicConfigBuilder.CleanupPolicyTypes CleanupPolicy { get; set; }
Property Value
CompressionGzipLevel
Manages COMPRESSION_GZIP_LEVEL_CONFIG
public int CompressionGzipLevel { get; set; }
Property Value
CompressionLz4Level
Manages COMPRESSION_LZ4_LEVEL_CONFIG
public int CompressionLz4Level { get; set; }
Property Value
CompressionType
Manages COMPRESSION_TYPE_CONFIG
public TopicConfigBuilder.CompressionTypes CompressionType { get; set; }
Property Value
CompressionZstdLevel
Manages COMPRESSION_ZSTD_LEVEL_CONFIG
public int CompressionZstdLevel { get; set; }
Property Value
DeleteRetentionMs
Manages DELETE_RETENTION_MS_CONFIG
public long DeleteRetentionMs { get; set; }
Property Value
FileDeleteDelayMs
Manages FILE_DELETE_DELAY_MS_CONFIG
public long FileDeleteDelayMs { get; set; }
Property Value
FlushMessageInterval
Manages FLUSH_MESSAGES_INTERVAL_CONFIG
public long FlushMessageInterval { get; set; }
Property Value
FlushMs
Manages FLUSH_MS_CONFIG
public long FlushMs { get; set; }
Property Value
IndexIntervalBytes
Manages INDEX_INTERVAL_BYTES_CONFIG
public int IndexIntervalBytes { get; set; }
Property Value
LocalLogRetentionBytes
Manages LOCAL_LOG_RETENTION_BYTES_CONFIG
public long LocalLogRetentionBytes { get; set; }
Property Value
LocalLogRetentionMs
Manages LOCAL_LOG_RETENTION_MS_CONFIG
public long LocalLogRetentionMs { get; set; }
Property Value
MaxCompactationLagMs
Manages MAX_COMPACTION_LAG_MS_CONFIG
public long MaxCompactationLagMs { get; set; }
Property Value
MaxMessageBytes
Manages MAX_MESSAGE_BYTES_CONFIG
public int MaxMessageBytes { get; set; }
Property Value
MessageTimestampAfterMaxMs
public int MessageTimestampAfterMaxMs { get; set; }
Property Value
MessageTimestampBeforeMaxMs
public int MessageTimestampBeforeMaxMs { get; set; }
Property Value
MessageTimestampType
Manages MESSAGE_TIMESTAMP_TYPE_CONFIG
public TopicConfigBuilder.MessageTimestampTypes MessageTimestampType { get; set; }
Property Value
MinCleanableDirtyRatio
Manages MIN_CLEANABLE_DIRTY_RATIO_CONFIG
public double MinCleanableDirtyRatio { get; set; }
Property Value
MinCompactationLagMs
Manages MIN_COMPACTION_LAG_MS_CONFIG
public long MinCompactationLagMs { get; set; }
Property Value
MinInSyncReplicas
Manages MIN_IN_SYNC_REPLICAS_CONFIG
public int MinInSyncReplicas { get; set; }
Property Value
Preallocate
Manages PREALLOCATE_CONFIG
public bool Preallocate { get; set; }
Property Value
RemoteLogCopyDisable
Manages REMOTE_LOG_COPY_DISABLE_CONFIG
public bool RemoteLogCopyDisable { get; set; }
Property Value
RemoteLogDeleteOnDisable
public bool RemoteLogDeleteOnDisable { get; set; }
Property Value
RemoteLogStorageEnable
Manages REMOTE_LOG_STORAGE_ENABLE_CONFIG
public bool RemoteLogStorageEnable { get; set; }
Property Value
RetentionBytes
Manages RETENTION_BYTES_CONFIG
public long RetentionBytes { get; set; }
Property Value
RetentionMs
Manages RETENTION_MS_CONFIG
public long RetentionMs { get; set; }
Property Value
SegmentBytes
Manages SEGMENT_BYTES_CONFIG
public int SegmentBytes { get; set; }
Property Value
SegmentIndexBytes
Manages SEGMENT_INDEX_BYTES_CONFIG
public int SegmentIndexBytes { get; set; }
Property Value
SegmentJitterMs
Manages SEGMENT_JITTER_MS_CONFIG
public long SegmentJitterMs { get; set; }
Property Value
SegmentMs
Manages SEGMENT_MS_CONFIG
public long SegmentMs { get; set; }
Property Value
UncleanLeaderElectionEnable
public bool UncleanLeaderElectionEnable { get; set; }
Property Value
Methods
WithCleanupPolicy(CleanupPolicyTypes)
Manages CLEANUP_POLICY_CONFIG
public TopicConfigBuilder WithCleanupPolicy(TopicConfigBuilder.CleanupPolicyTypes cleanupPolicy)
Parameters
cleanupPolicyTopicConfigBuilder.CleanupPolicyTypes
Returns
WithCompressionGzipLevel(int)
Manages COMPRESSION_GZIP_LEVEL_CONFIG
public TopicConfigBuilder WithCompressionGzipLevel(int compressionGzipLevel)
Parameters
compressionGzipLevelint
Returns
WithCompressionLz4Level(int)
Manages COMPRESSION_LZ4_LEVEL_CONFIG
public TopicConfigBuilder WithCompressionLz4Level(int compressionLz4Level)
Parameters
compressionLz4Levelint
Returns
WithCompressionType(CompressionTypes)
Manages COMPRESSION_TYPE_CONFIG
public TopicConfigBuilder WithCompressionType(TopicConfigBuilder.CompressionTypes compressionType)
Parameters
compressionTypeTopicConfigBuilder.CompressionTypes
Returns
WithCompressionZstdLevel(int)
Manages COMPRESSION_ZSTD_LEVEL_CONFIG
public TopicConfigBuilder WithCompressionZstdLevel(int compressionZstdLevel)
Parameters
compressionZstdLevelint
Returns
WithDeleteRetentionMs(long)
Manages DELETE_RETENTION_MS_CONFIG
public TopicConfigBuilder WithDeleteRetentionMs(long deleteRetentionMs)
Parameters
deleteRetentionMslong
Returns
WithFileDeleteDelayMs(long)
Manages FILE_DELETE_DELAY_MS_CONFIG
public TopicConfigBuilder WithFileDeleteDelayMs(long fileDeleteDelayMs)
Parameters
fileDeleteDelayMslong
Returns
WithFlushMessageInterval(long)
Manages FLUSH_MESSAGES_INTERVAL_CONFIG
public TopicConfigBuilder WithFlushMessageInterval(long flushMessageInterval)
Parameters
flushMessageIntervallong
Returns
WithFlushMs(long)
Manages FLUSH_MS_CONFIG
public TopicConfigBuilder WithFlushMs(long flushMs)
Parameters
flushMslong
Returns
WithIndexIntervalBytes(int)
Manages INDEX_INTERVAL_BYTES_CONFIG
public TopicConfigBuilder WithIndexIntervalBytes(int indexIntervalBytes)
Parameters
indexIntervalBytesint
Returns
WithLocalLogRetentionBytes(long)
Manages LOCAL_LOG_RETENTION_BYTES_CONFIG
public TopicConfigBuilder WithLocalLogRetentionBytes(long localLogRetentionBytes)
Parameters
localLogRetentionByteslong
Returns
WithLocalLogRetentionMs(long)
Manages LOCAL_LOG_RETENTION_MS_CONFIG
public TopicConfigBuilder WithLocalLogRetentionMs(long localLogRetentionMs)
Parameters
localLogRetentionMslong
Returns
WithMaxCompactationLagMs(long)
Manages MAX_COMPACTION_LAG_MS_CONFIG
public TopicConfigBuilder WithMaxCompactationLagMs(long maxCompactationLagMs)
Parameters
maxCompactationLagMslong
Returns
WithMaxMessageBytes(int)
Manages MAX_MESSAGE_BYTES_CONFIG
public TopicConfigBuilder WithMaxMessageBytes(int maxMessageBytes)
Parameters
maxMessageBytesint
Returns
WithMessageTimestampAfterMaxMs(int)
public TopicConfigBuilder WithMessageTimestampAfterMaxMs(int messageTimestampAfterMaxMs)
Parameters
messageTimestampAfterMaxMsint
Returns
WithMessageTimestampBeforeMaxMs(int)
public TopicConfigBuilder WithMessageTimestampBeforeMaxMs(int messageTimestampBeforeMaxMs)
Parameters
messageTimestampBeforeMaxMsint
Returns
WithMessageTimestampType(MessageTimestampTypes)
Manages MESSAGE_TIMESTAMP_TYPE_CONFIG
public TopicConfigBuilder WithMessageTimestampType(TopicConfigBuilder.MessageTimestampTypes messageTimestampType)
Parameters
messageTimestampTypeTopicConfigBuilder.MessageTimestampTypes
Returns
WithMinCleanableDirtyRatio(double)
Manages MIN_CLEANABLE_DIRTY_RATIO_CONFIG
public TopicConfigBuilder WithMinCleanableDirtyRatio(double minCleanableDirtyRatio)
Parameters
minCleanableDirtyRatiodouble
Returns
WithMinCompactationLagMs(long)
Manages MIN_COMPACTION_LAG_MS_CONFIG
public TopicConfigBuilder WithMinCompactationLagMs(long minCompactationLagMs)
Parameters
minCompactationLagMslong
Returns
WithMinInSyncReplicas(int)
Manages MIN_IN_SYNC_REPLICAS_CONFIG
public TopicConfigBuilder WithMinInSyncReplicas(int minInSyncReplicas)
Parameters
minInSyncReplicasint
Returns
WithPreallocate(bool)
Manages PREALLOCATE_CONFIG
public TopicConfigBuilder WithPreallocate(bool preallocate)
Parameters
preallocatebool
Returns
WithRemoteLogCopyDisable(bool)
Manages REMOTE_LOG_COPY_DISABLE_CONFIG
public TopicConfigBuilder WithRemoteLogCopyDisable(bool remoteLogCopyDisable)
Parameters
remoteLogCopyDisablebool
Returns
WithRemoteLogDeleteOnDisable(bool)
public TopicConfigBuilder WithRemoteLogDeleteOnDisable(bool remoteLogDeleteOnDisable)
Parameters
remoteLogDeleteOnDisablebool
Returns
WithRemoteLogStorageEnable(bool)
Manages REMOTE_LOG_STORAGE_ENABLE_CONFIG
public TopicConfigBuilder WithRemoteLogStorageEnable(bool remoteLogStorageEnable)
Parameters
remoteLogStorageEnablebool
Returns
WithRetentionBytes(long)
Manages RETENTION_BYTES_CONFIG
public TopicConfigBuilder WithRetentionBytes(long retentionBytes)
Parameters
retentionByteslong
Returns
WithRetentionMs(long)
Manages RETENTION_MS_CONFIG
public TopicConfigBuilder WithRetentionMs(long retentionMs)
Parameters
retentionMslong
Returns
WithSegmentBytes(int)
Manages SEGMENT_BYTES_CONFIG
public TopicConfigBuilder WithSegmentBytes(int segmentBytes)
Parameters
segmentBytesint
Returns
WithSegmentIndexBytes(int)
Manages SEGMENT_INDEX_BYTES_CONFIG
public TopicConfigBuilder WithSegmentIndexBytes(int segmentIndexBytes)
Parameters
segmentIndexBytesint
Returns
WithSegmentJitterMs(long)
Manages SEGMENT_JITTER_MS_CONFIG
public TopicConfigBuilder WithSegmentJitterMs(long segmentJitterMs)
Parameters
segmentJitterMslong
Returns
WithSegmentMs(long)
Manages SEGMENT_MS_CONFIG
public TopicConfigBuilder WithSegmentMs(long segmentMs)
Parameters
segmentMslong
Returns
WithUncleanLeaderElectionEnable(bool)
public TopicConfigBuilder WithUncleanLeaderElectionEnable(bool uncleanLeaderElectionEnable)
Parameters
uncleanLeaderElectionEnablebool