protected static class KafkaAbstractSource.KeyValueKafkaRecord<V> extends KafkaAbstractSource.KafkaRecord implements org.apache.pulsar.functions.api.KVRecord<Object,Object>
| Constructor and Description |
|---|
KeyValueKafkaRecord(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) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pulsar.client.api.Schema<Object> |
getKeySchema() |
org.apache.pulsar.common.schema.KeyValueEncodingType |
getKeyValueEncodingType() |
org.apache.pulsar.client.api.Schema<Object> |
getValueSchema() |
ack, getKey, getPartitionId, getPartitionIndex, getRecordSequence, getSchema, getValueCopyright © 2017–2021 Apache Software Foundation. All rights reserved.