Class ConsumerRecord<K, V, TJVMK, TJVMV>
KNet extension of ConsumerRecord<K, V>
public sealed class ConsumerRecord<K, V, TJVMK, TJVMV> : IKNetInnerReference<ConsumerRecord<TJVMK, TJVMV>>, IGenericSerDesFactoryApplier, IDisposable
Type Parameters
KThe key type
VThe value type
TJVMKThe JVM type of
KTJVMVThe JVM type of
V
- Inheritance
-
ConsumerRecord<K, V, TJVMK, TJVMV>
- Implements
-
IKNetInnerReference<ConsumerRecord<TJVMK, TJVMV>>
Properties
DateTime
public DateTime DateTime { get; }
Property Value
Headers
public Headers Headers { get; }
Property Value
InnerReference
The underlying inner reference used from KNet object instance
public ConsumerRecord<TJVMK, TJVMV> InnerReference { get; }
Property Value
- ConsumerRecord<TJVMK, TJVMV>
Key
public K Key { get; }
Property Value
- K
K
LeaderEpoch
public int? LeaderEpoch { get; }
Property Value
Offset
public long Offset { get; }
Property Value
Partition
public int Partition { get; }
Property Value
SerializedKeySize
public int SerializedKeySize { get; }
Property Value
SerializedValueSize
public int SerializedValueSize { get; }
Property Value
Timestamp
public long Timestamp { get; }
Property Value
TimestampType
public TimestampType TimestampType { get; }
Property Value
Topic
public string Topic { get; }
Property Value
Value
public V Value { get; }
Property Value
- V
V
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.