Class ConsumerRecord
public class ConsumerRecord : JVMBridgeBase<ConsumerRecord>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
ConsumerRecord
- Implements
- Inherited Members
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
arg0Stringarg1intarg2longarg3longarg4TimestampTypearg5intarg6intarg7objectarg8objectarg9Headersarg10Optional
ConsumerRecord(String, int, long, long, TimestampType, int, int, object, object, Headers, Optional, 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, Optional arg11)
Parameters
arg0Stringarg1intarg2longarg3longarg4TimestampTypearg5intarg6intarg7objectarg8objectarg9Headersarg10Optionalarg11Optional
ConsumerRecord(String, int, long, object, object)
public ConsumerRecord(String arg0, int arg1, long arg2, object arg3, object arg4)
Parameters
ConsumerRecord(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ConsumerRecord(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DateTime
public DateTime DateTime { 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 Closeable
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
NO_TIMESTAMP
public static long NO_TIMESTAMP { get; }
Property Value
NULL_SIZE
public static int NULL_SIZE { get; }
Property Value
Methods
DeliveryCount()
public Optional DeliveryCount()
Returns
Headers()
public Headers Headers()
Returns
Key()
public object Key()
Returns
LeaderEpoch()
public Optional LeaderEpoch()
Returns
Offset()
public long Offset()
Returns
Partition()
public int Partition()
Returns
SerializedKeySize()
public int SerializedKeySize()
Returns
SerializedValueSize()
public int SerializedValueSize()
Returns
Timestamp()
public long Timestamp()
Returns
TimestampType()
public TimestampType TimestampType()
Returns
Topic()
public String Topic()
Returns
Value()
public object Value()