Table of Contents

Class ProducerInterceptorDirect<K, V>

Namespace
Org.Apache.Kafka.Clients.Producer
Assembly
MASES.KNet.dll

Direct override of ProducerInterceptor or its generic type if there is one

public class ProducerInterceptorDirect<K, V> : ProducerInterceptor<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IProducerInterceptor<K, V>, IConfigurable, IAutoCloseable

Type Parameters

K
V
Inheritance
ProducerInterceptorDirect<K, V>
Implements
Inherited Members

Properties

AutoInit

Set to false to externally initialize this JVMBridgeListener instance using InitializeListener(IJVMBridgeBase)

public override bool AutoInit { get; }

Property Value

bool

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public override void Close()

Configure(Map<String, object>)

public override void Configure(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

InitializeHandlers()

Handlers initializer for ProducerInterceptor

protected override void InitializeHandlers()

OnAcknowledgement(RecordMetadata, JVMBridgeException)

public override void OnAcknowledgement(RecordMetadata arg0, JVMBridgeException arg1)

Parameters

arg0 RecordMetadata

RecordMetadata

arg1 JVMBridgeException

Exception

OnSend(ProducerRecord<K, V>)

public override ProducerRecord<K, V> OnSend(ProducerRecord<K, V> arg0)

Parameters

arg0 ProducerRecord<K, V>

ProducerRecord

Returns

ProducerRecord<K, V>

ProducerRecord