Interface ITimestampExtractor
Listener for Kafka TimestampExtractor. Extends MASES.JCOBridge.C2JBridge.IJVMBridgeBase
public interface ITimestampExtractor : IJVMBridgeBase, IJVMBridgeDefinition
- Inherited Members
-
IJVMBridgeBase.MonitorEnter()IJVMBridgeBase.MonitorExit()IJVMBridgeBase.IsInstanceOf(IJavaType)IJVMBridgeBase.IsInstanceOf<T>()IJVMBridgeBase.RuntimeIsInstanceOf<T>()IJVMBridgeBase.CastTo<TNewClass>()IJVMBridgeBase.CastDirect<TNewClass>()IJVMBridgeBase.DynBridgeInstanceIJVMBridgeBase.BridgeInstanceIJVMBridgeDefinition.BridgeClassNameIJVMBridgeDefinition.IsBridgeInterfaceIJVMBridgeDefinition.IsBridgeAbstractIJVMBridgeDefinition.IsBridgeStaticIJVMBridgeDefinition.IsBridgeCloseableIJVMBridgeDefinition.IsBridgeListener
Methods
Extract(ConsumerRecord<object, object>, long)
Executes the TimestampExtractor action in the CLR
long Extract(ConsumerRecord<object, object> record, long partitionTime)
Parameters
record
ConsumerRecord<object, object>a data record
partitionTime
longthe highest extracted valid timestamp of the current record's partition˙ (could be -1 if unknown)
Returns
- long
the timestamp of the record