Table of Contents

Class KafkaBasedLog

Namespace
Org.Apache.Kafka.Connect.Util
Assembly
MASES.KNet.dll
public class KafkaBasedLog : JVMBridgeBase<KafkaBasedLog>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<KafkaBasedLog>
KafkaBasedLog
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<KafkaBasedLog>.IsAssignableFrom(IJavaType)
JVMBridgeBase<KafkaBasedLog>.IsAssignableFrom<T>()
JVMBridgeBase<KafkaBasedLog>.Execute<T>(params T[])
JVMBridgeBase<KafkaBasedLog>.DynBridgeClazz
JVMBridgeBase<KafkaBasedLog>.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

Constructors

KafkaBasedLog()

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

public KafkaBasedLog()

KafkaBasedLog(String, Map, Map, Supplier, Callback, Time, Consumer)

public KafkaBasedLog(String arg0, Map arg1, Map arg2, Supplier arg3, Callback arg4, Time arg5, Consumer arg6)

Parameters

arg0 String

String

arg1 Map

Map

arg2 Map

Map

arg3 Supplier

Supplier

arg4 Callback

Callback

arg5 Time

Time

arg6 Consumer

Consumer

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Flush()

public void Flush()

PartitionCount()

public int PartitionCount()

Returns

int

int

ReadToEnd()

public Future ReadToEnd()

Returns

Future

Future

ReadToEnd(Callback)

public void ReadToEnd(Callback arg0)

Parameters

arg0 Callback

Callback

Send(object, object)

public void Send(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Send(object, object, Callback)

public void Send(object arg0, object arg1, Callback arg2)

Parameters

arg0 object

object

arg1 object

object

arg2 Callback

Callback

SendWithReceipt(object, object)

public Future SendWithReceipt(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

Future

Future

SendWithReceipt(object, object, Callback)

public Future SendWithReceipt(object arg0, object arg1, Callback arg2)

Parameters

arg0 object

object

arg1 object

object

arg2 Callback

Callback

Returns

Future

Future

Start()

public void Start()

Start(bool)

public void Start(bool arg0)

Parameters

arg0 bool

bool

Stop()

public void Stop()

WithExistingClients(String, Consumer, Producer, TopicAdmin, Callback, Time, Consumer, Predicate)

public static KafkaBasedLog WithExistingClients(String arg0, Consumer arg1, Producer arg2, TopicAdmin arg3, Callback arg4, Time arg5, Consumer arg6, Predicate arg7)

Parameters

arg0 String

String

arg1 Consumer

Consumer

arg2 Producer

Producer

arg3 TopicAdmin

TopicAdmin

arg4 Callback

Callback

arg5 Time

Time

arg6 Consumer

Consumer

arg7 Predicate

Predicate

Returns

KafkaBasedLog

KafkaBasedLog