Package org.apache.pulsar.io.kafka
Class KafkaAbstractSource.KafkaRecord<V>
java.lang.Object
org.apache.pulsar.io.kafka.KafkaAbstractSource.KafkaRecord<V>
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Record<V>
- Direct Known Subclasses:
KafkaAbstractSource.KeyValueKafkaRecord
- Enclosing class:
- KafkaAbstractSource<V>
protected static class KafkaAbstractSource.KafkaRecord<V>
extends Object
implements org.apache.pulsar.functions.api.Record<V>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.functions.api.Record
fail, getDestinationTopic, getEventTime, getMessage, getTopicName
-
Constructor Details
-
KafkaRecord
-
-
Method Details
-
getPartitionId
- Specified by:
getPartitionIdin interfaceorg.apache.pulsar.functions.api.Record<V>
-
getPartitionIndex
- Specified by:
getPartitionIndexin interfaceorg.apache.pulsar.functions.api.Record<V>
-
getRecordSequence
- Specified by:
getRecordSequencein interfaceorg.apache.pulsar.functions.api.Record<V>
-
getKey
- Specified by:
getKeyin interfaceorg.apache.pulsar.functions.api.Record<V>
-
getValue
- Specified by:
getValuein interfaceorg.apache.pulsar.functions.api.Record<V>
-
ack
public void ack()- Specified by:
ackin interfaceorg.apache.pulsar.functions.api.Record<V>
-
getSchema
- Specified by:
getSchemain interfaceorg.apache.pulsar.functions.api.Record<V>
-
getProperties
- Specified by:
getPropertiesin interfaceorg.apache.pulsar.functions.api.Record<V>
-