Table of Contents

Class VerifiableConsumer

Namespace
Org.Apache.Kafka.Tools
Assembly
MASES.KNet.dll
public class VerifiableConsumer : JVMBridgeBase<VerifiableConsumer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeMain, ICloseable, IAutoCloseable, IOffsetCommitCallback, IConsumerRebalanceListener, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<VerifiableConsumer>
VerifiableConsumer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeMain
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<VerifiableConsumer>.IsAssignableFrom(IJavaType)
JVMBridgeBase<VerifiableConsumer>.IsAssignableFrom<T>()
JVMBridgeBase<VerifiableConsumer>.Execute<T>(params T[])
JVMBridgeBase<VerifiableConsumer>.DynBridgeClazz
JVMBridgeBase<VerifiableConsumer>.BridgeClazz
JVMBridgeBase.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

VerifiableConsumer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public VerifiableConsumer()

VerifiableConsumer(KafkaConsumer<String, String>, PrintStream, String, int, bool, bool, bool)

public VerifiableConsumer(KafkaConsumer<String, String> arg0, PrintStream arg1, String arg2, int arg3, bool arg4, bool arg5, bool arg6)

Parameters

arg0 KafkaConsumer<String, String>

KafkaConsumer

arg1 PrintStream

PrintStream

arg2 String

String

arg3 int

int

arg4 bool

bool

arg5 bool

bool

arg6 bool

bool

VerifiableConsumer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public VerifiableConsumer(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public void Close()

CommitSync(Map<TopicPartition, OffsetAndMetadata>)

public void CommitSync(Map<TopicPartition, OffsetAndMetadata> arg0)

Parameters

arg0 Map<TopicPartition, OffsetAndMetadata>

Map

Main(String[])

public static void Main(String[] arg0)

Parameters

arg0 String[]

String

OnComplete(Map<TopicPartition, OffsetAndMetadata>, JVMBridgeException)

public void OnComplete(Map<TopicPartition, OffsetAndMetadata> arg0, JVMBridgeException arg1)

Parameters

arg0 Map<TopicPartition, OffsetAndMetadata>

Map

arg1 JVMBridgeException

Exception

OnPartitionsAssigned(Collection<TopicPartition>)

public void OnPartitionsAssigned(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection

OnPartitionsRevoked(Collection<TopicPartition>)

public void OnPartitionsRevoked(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection

Run()

public void Run()

Operators

implicit operator Closeable(VerifiableConsumer)

Converter from VerifiableConsumer to Closeable

public static implicit operator Closeable(VerifiableConsumer t)

Parameters

t VerifiableConsumer

Returns

Closeable

implicit operator ConsumerRebalanceListener(VerifiableConsumer)

public static implicit operator ConsumerRebalanceListener(VerifiableConsumer t)

Parameters

t VerifiableConsumer

Returns

ConsumerRebalanceListener

implicit operator OffsetCommitCallback(VerifiableConsumer)

public static implicit operator OffsetCommitCallback(VerifiableConsumer t)

Parameters

t VerifiableConsumer

Returns

OffsetCommitCallback