Class KNetConsumer<K, V>
Extends KNetConsumer<K, V, TJVMK, TJVMV> using array of byte
public class KNetConsumer<K, V> : KNetConsumer<K, V, byte[], byte[]>, IDynamicMetaObjectProvider, IJVMBridgeCore, IJVMBridgeBaseStatic, IConsumer<K, V, byte[], byte[]>, IConsumer<byte[], byte[]>, IConsumer, IJVMBridgeBase, IJVMBridgeDefinition, IDisposable, ICloseable, IAutoCloseable
Type Parameters
K
The key type
V
The value type
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>KNetConsumer<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
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
KNetConsumer(ConsumerConfigBuilder, ISerDes<K, byte[]>, ISerDes<V, byte[]>, bool)
Initialize a new instance of KNetConsumer<K, V, TJVMK, TJVMV>
public KNetConsumer(ConsumerConfigBuilder props, ISerDes<K, byte[]> keyDeserializer, ISerDes<V, byte[]> valueDeserializer, bool useJVMCallback = false)
Parameters
props
ConsumerConfigBuilderThe properties to use, see ConsumerConfigBuilder
keyDeserializer
ISerDes<K, byte[]>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
KNetConsumer(ConsumerConfigBuilder, bool)
Initialize a new instance of KNetConsumer<K, V, TJVMK, TJVMV>
public KNetConsumer(ConsumerConfigBuilder configBuilder, bool useJVMCallback = false)
Parameters
configBuilder
ConsumerConfigBuilderAn instance of ConsumerConfigBuilder
useJVMCallback
booltrue to active callback based mode