Interface ReactiveMessageReaderSpec

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.pulsar.client.api.ConsumerCryptoFailureAction getCryptoFailureAction()
      Gets the action the reader will take in case of decryption failures.
      org.apache.pulsar.client.api.CryptoKeyReader getCryptoKeyReader()
      Gets the key reader to be used to decrypt the message payloads.
      java.lang.String getGeneratedSubscriptionNamePrefix()
      Gets the generated subscription name prefix.
      java.util.List<org.apache.pulsar.client.api.Range> getKeyHashRanges()
      Gets the key hash ranges of the reader.
      java.lang.Boolean getReadCompacted()
      Gets whether to read messages from the compacted topic rather than reading the full message backlog of the topic.
      java.lang.String getReaderName()
      Gets the reader name.
      java.lang.Integer getReceiverQueueSize()
      Gets the size of the reader receive queue.
      java.lang.String getSubscriptionName()
      Gets the subscription name.
      java.util.List<java.lang.String> getTopicNames()
      Gets the topics to read from.
    • Method Detail

      • getTopicNames

        java.util.List<java.lang.String> getTopicNames()
        Gets the topics to read from.
        Returns:
        the topic names
        See Also:
        ReaderBuilder.topics(List)
      • getReaderName

        java.lang.String getReaderName()
        Gets the reader name.
        Returns:
        the reader name
        See Also:
        ReaderBuilder.readerName(String)
      • getSubscriptionName

        java.lang.String getSubscriptionName()
        Gets the subscription name.
        Returns:
        the name of the subscription
        See Also:
        ReaderBuilder.subscriptionName(String)
      • getGeneratedSubscriptionNamePrefix

        java.lang.String getGeneratedSubscriptionNamePrefix()
        Gets the generated subscription name prefix. The default prefix is "reader".
        Returns:
        the generated subscription name prefix
        See Also:
        ReaderBuilder.subscriptionRolePrefix(String)
      • getReceiverQueueSize

        java.lang.Integer getReceiverQueueSize()
        Gets the size of the reader receive queue.
        Returns:
        the size of the reader receive queue
        See Also:
        ReaderBuilder.receiverQueueSize(int)
      • getReadCompacted

        java.lang.Boolean getReadCompacted()
        Gets whether to read messages from the compacted topic rather than reading the full message backlog of the topic.
        Returns:
        true if messages are read from the compacted topic
        See Also:
        ReaderBuilder.readCompacted(boolean)
      • getKeyHashRanges

        java.util.List<org.apache.pulsar.client.api.Range> getKeyHashRanges()
        Gets the key hash ranges of the reader.
        Returns:
        the key hash ranges
        See Also:
        ReaderBuilder.keyHashRange(Range...)
      • getCryptoKeyReader

        org.apache.pulsar.client.api.CryptoKeyReader getCryptoKeyReader()
        Gets the key reader to be used to decrypt the message payloads.
        Returns:
        the key reader to be used to decrypt the message payloads
        See Also:
        ReaderBuilder.cryptoKeyReader(org.apache.pulsar.client.api.CryptoKeyReader)
      • getCryptoFailureAction

        org.apache.pulsar.client.api.ConsumerCryptoFailureAction getCryptoFailureAction()
        Gets the action the reader will take in case of decryption failures.
        Returns:
        the action the reader will take in case of decryption failures
        See Also:
        ReaderBuilder.cryptoFailureAction(org.apache.pulsar.client.api.ConsumerCryptoFailureAction)