Class PulsarFunctionRecord<T>
java.lang.Object
org.apache.pulsar.functions.source.PulsarFunctionRecord<T>
- All Implemented Interfaces:
Record<T>
The record returned by the proxy to the user.
-
Constructor Summary
ConstructorsConstructorDescriptionPulsarFunctionRecord(Record<T> record, org.apache.pulsar.functions.proto.Function.FunctionDetails functionConfig) -
Method Summary
-
Constructor Details
-
PulsarFunctionRecord
-
-
Method Details
-
getTopicName
- Specified by:
getTopicNamein interfaceRecord<T>
-
getKey
-
getSchema
public org.apache.pulsar.client.api.Schema getSchema() -
getValue
-
getEventTime
- Specified by:
getEventTimein interfaceRecord<T>
-
getPartitionId
- Specified by:
getPartitionIdin interfaceRecord<T>
-
getPartitionIndex
- Specified by:
getPartitionIndexin interfaceRecord<T>
-
getRecordSequence
- Specified by:
getRecordSequencein interfaceRecord<T>
-
getProperties
- Specified by:
getPropertiesin interfaceRecord<T>
-
ack
public void ack() -
fail
public void fail() -
getDestinationTopic
- Specified by:
getDestinationTopicin interfaceRecord<T>
-
getMessage
- Specified by:
getMessagein interfaceRecord<T>
-