Package org.apache.pulsar.io.kafka
Class KafkaAbstractSource.KeyValueKafkaRecord<V>
java.lang.Object
org.apache.pulsar.io.kafka.KafkaAbstractSource.KafkaRecord
org.apache.pulsar.io.kafka.KafkaAbstractSource.KeyValueKafkaRecord<V>
- All Implemented Interfaces:
org.apache.pulsar.functions.api.KVRecord<Object,,Object> org.apache.pulsar.functions.api.Record
- Enclosing class:
- KafkaAbstractSource<V>
protected static class KafkaAbstractSource.KeyValueKafkaRecord<V>
extends KafkaAbstractSource.KafkaRecord
implements org.apache.pulsar.functions.api.KVRecord<Object,Object>
-
Constructor Summary
ConstructorsConstructorDescriptionKeyValueKafkaRecord(org.apache.kafka.clients.consumer.ConsumerRecord record, org.apache.pulsar.common.schema.KeyValue value, org.apache.pulsar.client.api.Schema<Object> keySchema, org.apache.pulsar.client.api.Schema<Object> valueSchema) -
Method Summary
Methods inherited from class org.apache.pulsar.io.kafka.KafkaAbstractSource.KafkaRecord
ack, getKey, getPartitionId, getPartitionIndex, getRecordSequence, getSchema, getValueMethods 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
ack, fail, getDestinationTopic, getEventTime, getKey, getMessage, getPartitionId, getPartitionIndex, getProperties, getRecordSequence, getSchema, getTopicName, getValue
-
Constructor Details
-
KeyValueKafkaRecord
-
-
Method Details
-
getKeySchema
-
getValueSchema
-
getKeyValueEncodingType
public org.apache.pulsar.common.schema.KeyValueEncodingType getKeyValueEncodingType()
-