Table of Contents

Class ConsumerRebalanceListenerDirect

Namespace
Org.Apache.Kafka.Clients.Consumer
Assembly
MASES.KNet.dll

Direct override of ConsumerRebalanceListener or its generic type if there is one

public class ConsumerRebalanceListenerDirect : ConsumerRebalanceListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IConsumerRebalanceListener, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
ConsumerRebalanceListenerDirect
Implements
Inherited Members

Properties

AutoInit

Set to false to externally initialize this JVMBridgeListener instance using InitializeListener(IJVMBridgeBase)

public override bool AutoInit { get; }

Property Value

bool

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

InitializeHandlers()

Handlers initializer for ConsumerRebalanceListener

protected override void InitializeHandlers()

OnPartitionsAssigned(Collection<TopicPartition>)

public override void OnPartitionsAssigned(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection

OnPartitionsLost(Collection<TopicPartition>)

public override void OnPartitionsLost(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection

OnPartitionsRevoked(Collection<TopicPartition>)

public override void OnPartitionsRevoked(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection