Interface RecordWithEncryptionContext<T>

All Superinterfaces:
org.apache.pulsar.functions.api.Record<T>
All Known Implementing Classes:
PulsarRecord

public interface RecordWithEncryptionContext<T> extends org.apache.pulsar.functions.api.Record<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    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>