Class ConsumerRebalanceListener
Listener for Kafka ConsumerRebalanceListener. Extends MASES.JCOBridge.C2JBridge.JVMBridgeListener, implements IConsumerRebalanceListener
public class ConsumerRebalanceListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IConsumerRebalanceListener, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerConsumerRebalanceListener
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
Remarks
Dispose the object to avoid a resource leak, the object contains a reference to the corresponding JVM object
Constructors
ConsumerRebalanceListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ConsumerRebalanceListener()
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnOnPartitionsAssigned
public Action<Collection<TopicPartition>> OnOnPartitionsAssigned { get; set; }
Property Value
Remarks
If OnOnPartitionsAssigned has a value it takes precedence over corresponding class method
OnOnPartitionsLost
public Action<Collection<TopicPartition>> OnOnPartitionsLost { get; set; }
Property Value
Remarks
If OnOnPartitionsLost has a value it takes precedence over corresponding class method
OnOnPartitionsRevoked
public Action<Collection<TopicPartition>> OnOnPartitionsRevoked { get; set; }
Property Value
Remarks
If OnOnPartitionsRevoked has a value it takes precedence over corresponding class method
Methods
InitializeHandlers()
Handlers initializer for ConsumerRebalanceListener
protected virtual void InitializeHandlers()
OnPartitionsAssigned(Collection<TopicPartition>)
public virtual void OnPartitionsAssigned(Collection<TopicPartition> arg0)
Parameters
OnPartitionsLost(Collection<TopicPartition>)
public virtual void OnPartitionsLost(Collection<TopicPartition> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface using OnPartitionsLostDefault(Collection<TopicPartition>); override the method to implement a different behavior
OnPartitionsLostDefault(Collection<TopicPartition>)
public void OnPartitionsLostDefault(Collection<TopicPartition> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface
OnPartitionsRevoked(Collection<TopicPartition>)
public virtual void OnPartitionsRevoked(Collection<TopicPartition> arg0)