Class VerifiableProducer
public class VerifiableProducer : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable, IJVMBridgeMain
- Inheritance
-
VerifiableProducer
- Implements
Constructors
VerifiableProducer(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public VerifiableProducer(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
VerifiableProducer(KafkaProducer<String, String>, String, int, int, Integer, Long, Integer)
public VerifiableProducer(KafkaProducer<String, String> arg0, String arg1, int arg2, int arg3, Integer arg4, Long arg5, Integer arg6)
Parameters
arg0KafkaProducer<String, String>arg1Stringarg2intarg3intarg4Integerarg5Longarg6Integer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Key
public String Key { get; }
Property Value
Methods
Close()
public void Close()
CreatePoolableInstance(KafkaProducer<String, String>, String, int, int, Integer, Long, Integer)
HPA initializer for VerifiableProducer(Org.Apache.Kafka.Clients.Producer.KafkaProducer%3CJava.Lang.String, Java.Lang.String%3E arg0, Java.Lang.String arg1, int arg2, int arg3, Java.Lang.Integer arg4, Java.Lang.Long arg5, Java.Lang.Integer arg6)
public static VerifiableProducer CreatePoolableInstance(KafkaProducer<String, String> arg0, String arg1, int arg2, int arg3, Integer arg4, Long arg5, Integer arg6)
Parameters
arg0KafkaProducer<String, String>arg1Stringarg2intarg3intarg4Integerarg5Longarg6Integer
Returns
GetValue(long)
public String GetValue(long arg0)
Parameters
Returns
LoadProps(String)
public static Properties LoadProps(String arg0)
Parameters
Returns
Exceptions
Main(String[])
public static void Main(String[] arg0)
Parameters
Send(String, String)
public void Send(String arg0, String arg1)