Class KafkaClientSupplier
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
OnGetAdmin
public Func<Map<String, object>, Admin> OnGetAdmin { get; set; }
Property Value
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
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
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
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
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
Returns
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
Returns
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
Returns
GetGlobalConsumer(Map<String, object>)
public virtual Consumer<byte[], byte[]> GetGlobalConsumer(Map<String, object> arg0)
Parameters
Returns
GetProducer(Map<String, object>)
public virtual Producer<byte[], byte[]> GetProducer(Map<String, object> arg0)
Parameters
Returns
GetRestoreConsumer(Map<String, object>)
public virtual Consumer<byte[], byte[]> GetRestoreConsumer(Map<String, object> arg0)
Parameters
Returns
InitializeHandlers()
Handlers initializer for KafkaClientSupplier
protected virtual void InitializeHandlers()