Class KafkaConnectSource.KafkaSourceRecord
java.lang.Object
AbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[],byte[]>>
org.apache.pulsar.io.kafka.connect.KafkaConnectSource.KafkaSourceRecord
- All Implemented Interfaces:
org.apache.pulsar.functions.api.KVRecord<byte[],,byte[]> org.apache.pulsar.functions.api.Record
- Enclosing class:
- KafkaConnectSource
public class KafkaConnectSource.KafkaSourceRecord
extends AbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[],byte[]>>
implements org.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
-
Method Summary
Methods inherited from class org.apache.pulsar.io.kafka.connect.AbstractKafkaConnectSource.AbstractKafkaSourceRecord
fail, getProperties, getRecordSequenceMethods 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, getKey, getMessage, getPartitionId, getPartitionIndex, getProperties, getRecordSequence, getSchema, getTopicName, getValue
-
Method Details
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classAbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[], byte[]>>
-
getKeySchema
- Specified by:
getKeySchemain interfaceorg.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
-
getValueSchema
- Specified by:
getValueSchemain interfaceorg.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
-
getKeyValueEncodingType
- Specified by:
getKeyValueEncodingTypein interfaceorg.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
-
ack
public void ack()- Specified by:
ackin interfaceorg.apache.pulsar.functions.api.Record- Overrides:
ackin classAbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[], byte[]>>
-