Table of Contents

Class TopicConfigBuilder

Namespace
MASES.KNet.Common
Assembly
MASES.KNet.dll

Builder for TopicConfig

public class TopicConfigBuilder : GenericConfigBuilder<TopicConfigBuilder>, INotifyPropertyChanged, IGenericSerDesFactory, IDisposable, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Inheritance
TopicConfigBuilder
Implements
Inherited Members

Properties

CleanupPolicy

public TopicConfigBuilder.CleanupPolicyTypes CleanupPolicy { get; set; }

Property Value

TopicConfigBuilder.CleanupPolicyTypes

CompressionGzipLevel

public int CompressionGzipLevel { get; set; }

Property Value

int

CompressionLz4Level

public int CompressionLz4Level { get; set; }

Property Value

int

CompressionType

public TopicConfigBuilder.CompressionTypes CompressionType { get; set; }

Property Value

TopicConfigBuilder.CompressionTypes

CompressionZstdLevel

public int CompressionZstdLevel { get; set; }

Property Value

int

DeleteRetentionMs

public long DeleteRetentionMs { get; set; }

Property Value

long

FileDeleteDelayMs

public long FileDeleteDelayMs { get; set; }

Property Value

long

FlushMessageInterval

public long FlushMessageInterval { get; set; }

Property Value

long

FlushMs

public long FlushMs { get; set; }

Property Value

long

IndexIntervalBytes

public int IndexIntervalBytes { get; set; }

Property Value

int

LocalLogRetentionBytes

public long LocalLogRetentionBytes { get; set; }

Property Value

long

LocalLogRetentionMs

public long LocalLogRetentionMs { get; set; }

Property Value

long

MaxCompactationLagMs

public long MaxCompactationLagMs { get; set; }

Property Value

long

MaxMessageBytes

public int MaxMessageBytes { get; set; }

Property Value

int

MessageTimestampAfterMaxMs

public int MessageTimestampAfterMaxMs { get; set; }

Property Value

int

MessageTimestampBeforeMaxMs

public int MessageTimestampBeforeMaxMs { get; set; }

Property Value

int

MessageTimestampType

public TopicConfigBuilder.MessageTimestampTypes MessageTimestampType { get; set; }

Property Value

TopicConfigBuilder.MessageTimestampTypes

MinCleanableDirtyRatio

public double MinCleanableDirtyRatio { get; set; }

Property Value

double

MinCompactationLagMs

public long MinCompactationLagMs { get; set; }

Property Value

long

MinInSyncReplicas

public int MinInSyncReplicas { get; set; }

Property Value

int

Preallocate

public bool Preallocate { get; set; }

Property Value

bool

RemoteLogCopyDisable

public bool RemoteLogCopyDisable { get; set; }

Property Value

bool

RemoteLogDeleteOnDisable

public bool RemoteLogDeleteOnDisable { get; set; }

Property Value

bool

RemoteLogStorageEnable

public bool RemoteLogStorageEnable { get; set; }

Property Value

bool

RetentionBytes

public long RetentionBytes { get; set; }

Property Value

long

RetentionMs

public long RetentionMs { get; set; }

Property Value

long

SegmentBytes

public int SegmentBytes { get; set; }

Property Value

int

SegmentIndexBytes

public int SegmentIndexBytes { get; set; }

Property Value

int

SegmentJitterMs

public long SegmentJitterMs { get; set; }

Property Value

long

SegmentMs

public long SegmentMs { get; set; }

Property Value

long

UncleanLeaderElectionEnable

public bool UncleanLeaderElectionEnable { get; set; }

Property Value

bool

Methods

WithCleanupPolicy(CleanupPolicyTypes)

public TopicConfigBuilder WithCleanupPolicy(TopicConfigBuilder.CleanupPolicyTypes cleanupPolicy)

Parameters

cleanupPolicy TopicConfigBuilder.CleanupPolicyTypes

Returns

TopicConfigBuilder

WithCompressionGzipLevel(int)

public TopicConfigBuilder WithCompressionGzipLevel(int compressionGzipLevel)

Parameters

compressionGzipLevel int

Returns

TopicConfigBuilder

WithCompressionLz4Level(int)

public TopicConfigBuilder WithCompressionLz4Level(int compressionLz4Level)

Parameters

compressionLz4Level int

Returns

TopicConfigBuilder

WithCompressionType(CompressionTypes)

public TopicConfigBuilder WithCompressionType(TopicConfigBuilder.CompressionTypes compressionType)

Parameters

compressionType TopicConfigBuilder.CompressionTypes

Returns

TopicConfigBuilder

WithCompressionZstdLevel(int)

public TopicConfigBuilder WithCompressionZstdLevel(int compressionZstdLevel)

Parameters

compressionZstdLevel int

Returns

TopicConfigBuilder

WithDeleteRetentionMs(long)

public TopicConfigBuilder WithDeleteRetentionMs(long deleteRetentionMs)

Parameters

deleteRetentionMs long

Returns

TopicConfigBuilder

WithFileDeleteDelayMs(long)

public TopicConfigBuilder WithFileDeleteDelayMs(long fileDeleteDelayMs)

Parameters

fileDeleteDelayMs long

Returns

TopicConfigBuilder

WithFlushMessageInterval(long)

public TopicConfigBuilder WithFlushMessageInterval(long flushMessageInterval)

Parameters

flushMessageInterval long

Returns

TopicConfigBuilder

WithFlushMs(long)

public TopicConfigBuilder WithFlushMs(long flushMs)

Parameters

flushMs long

Returns

TopicConfigBuilder

WithIndexIntervalBytes(int)

public TopicConfigBuilder WithIndexIntervalBytes(int indexIntervalBytes)

Parameters

indexIntervalBytes int

Returns

TopicConfigBuilder

WithLocalLogRetentionBytes(long)

public TopicConfigBuilder WithLocalLogRetentionBytes(long localLogRetentionBytes)

Parameters

localLogRetentionBytes long

Returns

TopicConfigBuilder

WithLocalLogRetentionMs(long)

public TopicConfigBuilder WithLocalLogRetentionMs(long localLogRetentionMs)

Parameters

localLogRetentionMs long

Returns

TopicConfigBuilder

WithMaxCompactationLagMs(long)

public TopicConfigBuilder WithMaxCompactationLagMs(long maxCompactationLagMs)

Parameters

maxCompactationLagMs long

Returns

TopicConfigBuilder

WithMaxMessageBytes(int)

public TopicConfigBuilder WithMaxMessageBytes(int maxMessageBytes)

Parameters

maxMessageBytes int

Returns

TopicConfigBuilder

WithMessageTimestampAfterMaxMs(int)

public TopicConfigBuilder WithMessageTimestampAfterMaxMs(int messageTimestampAfterMaxMs)

Parameters

messageTimestampAfterMaxMs int

Returns

TopicConfigBuilder

WithMessageTimestampBeforeMaxMs(int)

public TopicConfigBuilder WithMessageTimestampBeforeMaxMs(int messageTimestampBeforeMaxMs)

Parameters

messageTimestampBeforeMaxMs int

Returns

TopicConfigBuilder

WithMessageTimestampType(MessageTimestampTypes)

public TopicConfigBuilder WithMessageTimestampType(TopicConfigBuilder.MessageTimestampTypes messageTimestampType)

Parameters

messageTimestampType TopicConfigBuilder.MessageTimestampTypes

Returns

TopicConfigBuilder

WithMinCleanableDirtyRatio(double)

public TopicConfigBuilder WithMinCleanableDirtyRatio(double minCleanableDirtyRatio)

Parameters

minCleanableDirtyRatio double

Returns

TopicConfigBuilder

WithMinCompactationLagMs(long)

public TopicConfigBuilder WithMinCompactationLagMs(long minCompactationLagMs)

Parameters

minCompactationLagMs long

Returns

TopicConfigBuilder

WithMinInSyncReplicas(int)

public TopicConfigBuilder WithMinInSyncReplicas(int minInSyncReplicas)

Parameters

minInSyncReplicas int

Returns

TopicConfigBuilder

WithPreallocate(bool)

public TopicConfigBuilder WithPreallocate(bool preallocate)

Parameters

preallocate bool

Returns

TopicConfigBuilder

WithRemoteLogCopyDisable(bool)

public TopicConfigBuilder WithRemoteLogCopyDisable(bool remoteLogCopyDisable)

Parameters

remoteLogCopyDisable bool

Returns

TopicConfigBuilder

WithRemoteLogDeleteOnDisable(bool)

public TopicConfigBuilder WithRemoteLogDeleteOnDisable(bool remoteLogDeleteOnDisable)

Parameters

remoteLogDeleteOnDisable bool

Returns

TopicConfigBuilder

WithRemoteLogStorageEnable(bool)

public TopicConfigBuilder WithRemoteLogStorageEnable(bool remoteLogStorageEnable)

Parameters

remoteLogStorageEnable bool

Returns

TopicConfigBuilder

WithRetentionBytes(long)

public TopicConfigBuilder WithRetentionBytes(long retentionBytes)

Parameters

retentionBytes long

Returns

TopicConfigBuilder

WithRetentionMs(long)

public TopicConfigBuilder WithRetentionMs(long retentionMs)

Parameters

retentionMs long

Returns

TopicConfigBuilder

WithSegmentBytes(int)

public TopicConfigBuilder WithSegmentBytes(int segmentBytes)

Parameters

segmentBytes int

Returns

TopicConfigBuilder

WithSegmentIndexBytes(int)

public TopicConfigBuilder WithSegmentIndexBytes(int segmentIndexBytes)

Parameters

segmentIndexBytes int

Returns

TopicConfigBuilder

WithSegmentJitterMs(long)

public TopicConfigBuilder WithSegmentJitterMs(long segmentJitterMs)

Parameters

segmentJitterMs long

Returns

TopicConfigBuilder

WithSegmentMs(long)

public TopicConfigBuilder WithSegmentMs(long segmentMs)

Parameters

segmentMs long

Returns

TopicConfigBuilder

WithUncleanLeaderElectionEnable(bool)

public TopicConfigBuilder WithUncleanLeaderElectionEnable(bool uncleanLeaderElectionEnable)

Parameters

uncleanLeaderElectionEnable bool

Returns

TopicConfigBuilder