Table of Contents

Class KafkaClientSupplier

Namespace
Org.Apache.Kafka.Streams
Assembly
MASES.KNet.dll
public class KafkaClientSupplier : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IKafkaClientSupplier
Inheritance
KafkaClientSupplier
Implements
Derived
Inherited Members

Constructors

KafkaClientSupplier()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public KafkaClientSupplier()

KafkaClientSupplier(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 KafkaClientSupplier(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnGetAdmin

public Func<Map<String, object>, Admin> OnGetAdmin { get; set; }

Property Value

Func<Map<String, object>, Admin>

Remarks

If OnGetAdmin has a value it takes precedence over corresponding class method

OnGetConsumer

public Func<Map<String, object>, Consumer<byte[], byte[]>> OnGetConsumer { get; set; }

Property Value

Func<Map<String, object>, Consumer<byte[], byte[]>>

Remarks

If OnGetConsumer has a value it takes precedence over corresponding class method

OnGetGlobalConsumer

public Func<Map<String, object>, Consumer<byte[], byte[]>> OnGetGlobalConsumer { get; set; }

Property Value

Func<Map<String, object>, Consumer<byte[], byte[]>>

Remarks

If OnGetGlobalConsumer has a value it takes precedence over corresponding class method

OnGetProducer

public Func<Map<String, object>, Producer<byte[], byte[]>> OnGetProducer { get; set; }

Property Value

Func<Map<String, object>, Producer<byte[], byte[]>>

Remarks

If OnGetProducer has a value it takes precedence over corresponding class method

OnGetRestoreConsumer

public Func<Map<String, object>, Consumer<byte[], byte[]>> OnGetRestoreConsumer { get; set; }

Property Value

Func<Map<String, object>, Consumer<byte[], byte[]>>

Remarks

If OnGetRestoreConsumer has a value it takes precedence over corresponding class method

Methods

GetAdmin(Map<String, object>)

public virtual Admin GetAdmin(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Admin

Admin

Remarks

The method invokes the default implementation in the JVM interface using GetAdminDefault(Map<String, object>); override the method to implement a different behavior

GetAdminDefault(Map<String, object>)

public Admin GetAdminDefault(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Admin

Admin

Remarks

The method invokes the default implementation in the JVM interface

GetConsumer(Map<String, object>)

public virtual Consumer<byte[], byte[]> GetConsumer(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Consumer<byte[], byte[]>

Consumer

GetGlobalConsumer(Map<String, object>)

public virtual Consumer<byte[], byte[]> GetGlobalConsumer(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Consumer<byte[], byte[]>

Consumer

GetProducer(Map<String, object>)

public virtual Producer<byte[], byte[]> GetProducer(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Producer<byte[], byte[]>

Producer

GetRestoreConsumer(Map<String, object>)

public virtual Consumer<byte[], byte[]> GetRestoreConsumer(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Consumer<byte[], byte[]>

Consumer

InitializeHandlers()

Handlers initializer for KafkaClientSupplier

protected virtual void InitializeHandlers()