Class KNetConsumerKeyBuffered<K, V>
Extends KNetConsumer<K, V, TJVMK, TJVMV> using ByteBuffer for key
public class KNetConsumerKeyBuffered<K, V> : KNetConsumer<K, V, ByteBuffer, byte[]>, IDynamicMetaObjectProvider, IJVMBridgeCore, IJVMBridgeBaseStatic, IConsumer<K, V, ByteBuffer, byte[]>, IConsumer<ByteBuffer, byte[]>, IConsumer, IJVMBridgeBase, IJVMBridgeDefinition, IDisposable, ICloseable, IAutoCloseable
Type Parameters
K
The key type
V
The value type
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>KNetConsumerKeyBuffered<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
KNetConsumer<K, V, ByteBuffer, byte[]>.SetCallback(Action<ConsumerRecord<K, V, ByteBuffer, byte[]>>)JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.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
- Extension Methods
Constructors
KNetConsumerKeyBuffered(ConsumerConfigBuilder, ISerDes<K, ByteBuffer>, ISerDes<V, byte[]>, bool)
Initialize a new instance of KNetConsumer<K, V, TJVMK, TJVMV>
public KNetConsumerKeyBuffered(ConsumerConfigBuilder props, ISerDes<K, ByteBuffer> keyDeserializer, ISerDes<V, byte[]> valueDeserializer, bool useJVMCallback = false)
Parameters
props
ConsumerConfigBuilderThe properties to use, see ConsumerConfigBuilder
keyDeserializer
ISerDes<K, ByteBuffer>Key serializer base on SerDes<T, TJVMT>
valueDeserializer
ISerDes<V, byte[]>Value serializer base on SerDes<T, TJVMT>
useJVMCallback
booltrue to active callback based mode
KNetConsumerKeyBuffered(ConsumerConfigBuilder, bool)
Initialize a new instance of KNetConsumer<K, V, TJVMK, TJVMV>
public KNetConsumerKeyBuffered(ConsumerConfigBuilder configBuilder, bool useJVMCallback = false)
Parameters
configBuilder
ConsumerConfigBuilderAn instance of ConsumerConfigBuilder
useJVMCallback
booltrue to active callback based mode