Table of Contents

Class ConsumerRecord

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

ConsumerRecord()

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

public ConsumerRecord()

ConsumerRecord(String, int, long, long, TimestampType, int, int, object, object, Headers, Optional)

public ConsumerRecord(String arg0, int arg1, long arg2, long arg3, TimestampType arg4, int arg5, int arg6, object arg7, object arg8, Headers arg9, Optional arg10)

Parameters

arg0 String

String

arg1 int

int

arg2 long

long

arg3 long

long

arg4 TimestampType

TimestampType

arg5 int

int

arg6 int

int

arg7 object

object

arg8 object

object

arg9 Headers

Headers

arg10 Optional

Optional

ConsumerRecord(String, int, long, object, object)

public ConsumerRecord(String arg0, int arg1, long arg2, object arg3, object arg4)

Parameters

arg0 String

String

arg1 int

int

arg2 long

long

arg3 object

object

arg4 object

object

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DateTime

public DateTime DateTime { get; }

Property Value

DateTime

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

NO_TIMESTAMP

public static long NO_TIMESTAMP { get; }

Property Value

long

NULL_SIZE

public static int NULL_SIZE { get; }

Property Value

int

Methods

Headers()

public Headers Headers()

Returns

Headers

Headers

Key()

public object Key()

Returns

object

object

LeaderEpoch()

public Optional LeaderEpoch()

Returns

Optional

Optional

Offset()

public long Offset()

Returns

long

long

Partition()

public int Partition()

Returns

int

int

SerializedKeySize()

public int SerializedKeySize()

Returns

int

int

SerializedValueSize()

public int SerializedValueSize()

Returns

int

int

Timestamp()

public long Timestamp()

Returns

long

long

TimestampType()

public TimestampType TimestampType()

Returns

TimestampType

TimestampType

Topic()

public String Topic()

Returns

String

String

Value()

public object Value()

Returns

object

object