Table of Contents

Class ConsumerConfigBuilder

Namespace
MASES.KNet.Consumer
Assembly
MASES.KNet.dll

Builder for ConsumerConfig

public class ConsumerConfigBuilder : CommonClientConfigsBuilder<ConsumerConfigBuilder>, INotifyPropertyChanged, IGenericSerDesFactory, IDisposable
Inheritance
ConsumerConfigBuilder
Implements
Inherited Members
Extension Methods

Properties

AllowAutoCreateTopics

public bool AllowAutoCreateTopics { get; set; }

Property Value

bool

AutoCommitIntervalMs

public int AutoCommitIntervalMs { get; set; }

Property Value

int

AutoOffsetReset

public ConsumerConfigBuilder.AutoOffsetResetTypes AutoOffsetReset { get; set; }

Property Value

ConsumerConfigBuilder.AutoOffsetResetTypes

CheckCrcs

public bool CheckCrcs { get; set; }

Property Value

bool

EnableAutoCommit

public bool EnableAutoCommit { get; set; }

Property Value

bool

ExcludeInternalTopics

public bool ExcludeInternalTopics { get; set; }

Property Value

bool

FetchMaxBytes

public int FetchMaxBytes { get; set; }

Property Value

int

FetchMaxWaitMs

public int FetchMaxWaitMs { get; set; }

Property Value

int

FetchMinBytes

public int FetchMinBytes { get; set; }

Property Value

int

GroupProtocol

public string GroupProtocol { get; set; }

Property Value

string

GroupRemoteAssignor

public string GroupRemoteAssignor { get; set; }

Property Value

string

InterceptorClasses

public List<Class> InterceptorClasses { get; set; }

Property Value

List<Class>

IsolationLevel

public IsolationLevel IsolationLevel { get; set; }

Property Value

IsolationLevel

KeyDeserializerClass

public string KeyDeserializerClass { get; set; }

Property Value

string

MaxPartitionFetchBytes

public int MaxPartitionFetchBytes { get; set; }

Property Value

int

MaxPollRecords

public int MaxPollRecords { get; set; }

Property Value

int

PartitionAssignmentStrategy

public string PartitionAssignmentStrategy { get; set; }

Property Value

string

SecurityProviders

public string SecurityProviders { get; set; }

Property Value

string

ValueDeserializerClass

public string ValueDeserializerClass { get; set; }

Property Value

string

Methods

WithAllowAutoCreateTopics(bool)

public ConsumerConfigBuilder WithAllowAutoCreateTopics(bool allowAutoCreateTopics)

Parameters

allowAutoCreateTopics bool

Returns

ConsumerConfigBuilder

WithAutoCommitIntervalMs(int)

public ConsumerConfigBuilder WithAutoCommitIntervalMs(int autoCommitIntervalMs)

Parameters

autoCommitIntervalMs int

Returns

ConsumerConfigBuilder

WithAutoOffsetReset(AutoOffsetResetTypes)

public ConsumerConfigBuilder WithAutoOffsetReset(ConsumerConfigBuilder.AutoOffsetResetTypes autoOffsetReset)

Parameters

autoOffsetReset ConsumerConfigBuilder.AutoOffsetResetTypes

Returns

ConsumerConfigBuilder

WithCheckCrcs(bool)

public ConsumerConfigBuilder WithCheckCrcs(bool checkCrcs)

Parameters

checkCrcs bool

Returns

ConsumerConfigBuilder

WithEnableAutoCommit(bool)

public ConsumerConfigBuilder WithEnableAutoCommit(bool enableAutoCommit)

Parameters

enableAutoCommit bool

Returns

ConsumerConfigBuilder

WithExcludeInternalTopics(bool)

public ConsumerConfigBuilder WithExcludeInternalTopics(bool excludeInternalTopics)

Parameters

excludeInternalTopics bool

Returns

ConsumerConfigBuilder

WithFetchMaxBytes(int)

public ConsumerConfigBuilder WithFetchMaxBytes(int fetchMaxBytes)

Parameters

fetchMaxBytes int

Returns

ConsumerConfigBuilder

WithFetchMaxWaitMs(int)

public ConsumerConfigBuilder WithFetchMaxWaitMs(int fetchMaxWaitMs)

Parameters

fetchMaxWaitMs int

Returns

ConsumerConfigBuilder

WithFetchMinBytes(int)

public ConsumerConfigBuilder WithFetchMinBytes(int fetchMinBytes)

Parameters

fetchMinBytes int

Returns

ConsumerConfigBuilder

WithGroupProtocol(string)

public ConsumerConfigBuilder WithGroupProtocol(string groupProtocol)

Parameters

groupProtocol string

Returns

ConsumerConfigBuilder

WithGroupRemoteAssignor(string)

public ConsumerConfigBuilder WithGroupRemoteAssignor(string groupRemoteAssignor)

Parameters

groupRemoteAssignor string

Returns

ConsumerConfigBuilder

WithInterceptorClasses(List<Class>)

public ConsumerConfigBuilder WithInterceptorClasses(List<Class> interceptorClasses)

Parameters

interceptorClasses List<Class>

Returns

ConsumerConfigBuilder

WithIsolationLevel(IsolationLevel)

public ConsumerConfigBuilder WithIsolationLevel(IsolationLevel isolationLevel)

Parameters

isolationLevel IsolationLevel

Returns

ConsumerConfigBuilder

WithKeyDeserializerClass(string)

public ConsumerConfigBuilder WithKeyDeserializerClass(string keyDeserializerClass)

Parameters

keyDeserializerClass string

Returns

ConsumerConfigBuilder

WithMaxPartitionFetchBytes(int)

public ConsumerConfigBuilder WithMaxPartitionFetchBytes(int maxPartitionFetchBytes)

Parameters

maxPartitionFetchBytes int

Returns

ConsumerConfigBuilder

WithMaxPollRecords(int)

public ConsumerConfigBuilder WithMaxPollRecords(int maxPollRecords)

Parameters

maxPollRecords int

Returns

ConsumerConfigBuilder

WithPartitionAssignmentStrategy(string)

public ConsumerConfigBuilder WithPartitionAssignmentStrategy(string partitionAssignmentStrategy)

Parameters

partitionAssignmentStrategy string

Returns

ConsumerConfigBuilder

WithSecurityProviders(string)

public ConsumerConfigBuilder WithSecurityProviders(string securityProviders)

Parameters

securityProviders string

Returns

ConsumerConfigBuilder

WithValueDeserializerClass(string)

public ConsumerConfigBuilder WithValueDeserializerClass(string valueDeserializerClass)

Parameters

valueDeserializerClass string

Returns

ConsumerConfigBuilder