- All Superinterfaces:
Record<T>
- All Known Implementing Classes:
PulsarRecord
public interface RecordWithEncryptionContext<T>
extends Record<T>
-
Method Summary
Optional<org.apache.pulsar.common.api.EncryptionContext>
Retrieves encryption-context that is attached to record.
Methods inherited from interface org.apache.pulsar.functions.api.Record
ack, fail, getDestinationTopic, getEventTime, getKey, getMessage, getPartitionId, getPartitionIndex, getProperties, getRecordSequence, getSchema, getTopicName, getValue
-
Method Details
-
getEncryptionCtx
Optional<org.apache.pulsar.common.api.EncryptionContext> getEncryptionCtx()
Retrieves encryption-context that is attached to record.
- Returns:
Optional<EncryptionContext>