Table of Contents

Class ConsumerRecord<K, V>

Namespace
Org.Apache.Kafka.Clients.Consumer
Assembly
MASES.KNet.dll
public class ConsumerRecord<K, V> : JVMBridgeBase<ConsumerRecord<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

K
V
Inheritance
JVMBridgeBase
JVMBridgeBase<ConsumerRecord<K, V>>
ConsumerRecord<K, V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ConsumerRecord<K, V>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ConsumerRecord<K, V>>.IsAssignableFrom<T>()
JVMBridgeBase<ConsumerRecord<K, V>>.Execute<T>(params T[])
JVMBridgeBase<ConsumerRecord<K, V>>.DynBridgeClazz
JVMBridgeBase<ConsumerRecord<K, V>>.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, K, V, Headers, Optional<Integer>)

public ConsumerRecord(String arg0, int arg1, long arg2, long arg3, TimestampType arg4, int arg5, int arg6, K arg7, V arg8, Headers arg9, Optional<Integer> arg10)

Parameters

arg0 String

String

arg1 int

int

arg2 long

long

arg3 long

long

arg4 TimestampType

TimestampType

arg5 int

int

arg6 int

int

arg7 K

K

arg8 V

V

arg9 Headers

Headers

arg10 Optional<Integer>

Optional

ConsumerRecord(String, int, long, K, V)

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

Parameters

arg0 String

String

arg1 int

int

arg2 long

long

arg3 K

K

arg4 V

V

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 K Key()

Returns

K

K

LeaderEpoch()

public Optional<Integer> LeaderEpoch()

Returns

Optional<Integer>

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 V Value()

Returns

V

V

Operators

implicit operator ConsumerRecord(ConsumerRecord<K, V>)

public static implicit operator ConsumerRecord(ConsumerRecord<K, V> t)

Parameters

t ConsumerRecord<K, V>

Returns

ConsumerRecord