Table of Contents

Class KNetProducerBuffered<K, V>

Namespace
MASES.KNet.Producer
Assembly
MASES.KNet.dll

Extends KafkaProducer adding less intrusive methods which performs better in high throughput applications, extends KNetProducer<K, V, TJVMK, TJVMV> using ByteBuffer

public class KNetProducerBuffered<K, V> : KNetProducer<K, V, ByteBuffer, ByteBuffer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IJVMBridgeBaseStatic, IProducer<K, V, ByteBuffer, ByteBuffer>, IProducer<ByteBuffer, ByteBuffer>, IProducer, IJVMBridgeBase, IJVMBridgeDefinition, IDisposable, ICloseable, IAutoCloseable

Type Parameters

K

Same meaning of KafkaProducer

V

Same meaning of KafkaProducer

Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
KNetProducerBuffered<K, V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.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
Extension Methods

Constructors

KNetProducerBuffered(ProducerConfigBuilder)

Initialize a new instance of KNetProducer<K, V, TJVMK, TJVMV>

public KNetProducerBuffered(ProducerConfigBuilder configBuilder)

Parameters

configBuilder ProducerConfigBuilder

An instance of ProducerConfigBuilder

KNetProducerBuffered(ProducerConfigBuilder, ISerDes<K, ByteBuffer>, ISerDes<V, ByteBuffer>)

Initialize a new instance of KNetProducer<K, V, TJVMK, TJVMV>

public KNetProducerBuffered(ProducerConfigBuilder props, ISerDes<K, ByteBuffer> keySerializer, ISerDes<V, ByteBuffer> valueSerializer)

Parameters

props ProducerConfigBuilder

The properties to use, see ProducerConfigBuilder

keySerializer ISerDes<K, ByteBuffer>

Key serializer base on SerDes<T, TJVMT>

valueSerializer ISerDes<V, ByteBuffer>

Value serializer base on SerDes<T, TJVMT>