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 Details

    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class AbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[],byte[]>>
    • getKeySchema

      public Schema<byte[]> getKeySchema()
      Specified by:
      getKeySchema in interface org.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
    • getValueSchema

      public Schema<byte[]> getValueSchema()
      Specified by:
      getValueSchema in interface org.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
    • getKeyValueEncodingType

      public KeyValueEncodingType getKeyValueEncodingType()
      Specified by:
      getKeyValueEncodingType in interface org.apache.pulsar.functions.api.KVRecord<byte[],byte[]>
    • ack

      public void ack()
      Specified by:
      ack in interface org.apache.pulsar.functions.api.Record
      Overrides:
      ack in class AbstractKafkaConnectSource<KeyValue<byte[],byte[]>>.AbstractKafkaSourceRecord<KeyValue<byte[],byte[]>>