Class VerifiableConsumer
public class VerifiableConsumer : JVMBridgeBase<VerifiableConsumer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeMain, ICloseable, IAutoCloseable, IOffsetCommitCallback, IConsumerRebalanceListener, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<VerifiableConsumer>VerifiableConsumer
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeMainIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<VerifiableConsumer>.IsAssignableFrom(IJavaType)JVMBridgeBase<VerifiableConsumer>.IsAssignableFrom<T>()JVMBridgeBase<VerifiableConsumer>.Execute<T>(params T[])JVMBridgeBase<VerifiableConsumer>.DynBridgeClazzJVMBridgeBase<VerifiableConsumer>.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.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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>arg1
PrintStreamarg2
Stringarg3
intarg4
boolarg5
boolarg6
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Close()
public void Close()
CommitSync(Map<TopicPartition, OffsetAndMetadata>)
public void CommitSync(Map<TopicPartition, OffsetAndMetadata> arg0)
Parameters
arg0
Map<TopicPartition, OffsetAndMetadata>
Main(String[])
public static void Main(String[] arg0)
Parameters
OnComplete(Map<TopicPartition, OffsetAndMetadata>, JVMBridgeException)
public void OnComplete(Map<TopicPartition, OffsetAndMetadata> arg0, JVMBridgeException arg1)
Parameters
arg0
Map<TopicPartition, OffsetAndMetadata>arg1
JVMBridgeException
OnPartitionsAssigned(Collection<TopicPartition>)
public void OnPartitionsAssigned(Collection<TopicPartition> arg0)
Parameters
OnPartitionsRevoked(Collection<TopicPartition>)
public void OnPartitionsRevoked(Collection<TopicPartition> arg0)
Parameters
Run()
public void Run()
Operators
implicit operator Closeable(VerifiableConsumer)
Converter from VerifiableConsumer to Closeable
public static implicit operator Closeable(VerifiableConsumer t)
Parameters
Returns
implicit operator ConsumerRebalanceListener(VerifiableConsumer)
Converter from VerifiableConsumer to ConsumerRebalanceListener
public static implicit operator ConsumerRebalanceListener(VerifiableConsumer t)
Parameters
Returns
implicit operator OffsetCommitCallback(VerifiableConsumer)
Converter from VerifiableConsumer to OffsetCommitCallback
public static implicit operator OffsetCommitCallback(VerifiableConsumer t)