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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<org.apache.pulsar.common.api.EncryptionContext> getEncryptionCtx()
      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 Detail

      • getEncryptionCtx

        java.util.Optional<org.apache.pulsar.common.api.EncryptionContext> getEncryptionCtx()
        Retrieves encryption-context that is attached to record.
        Returns:
        Optional<EncryptionContext>