Interface TxnMeta

    • Method Detail

      • id

        org.apache.pulsar.client.api.transaction.TxnID id()
        Return the transaction id.
        Returns:
        transaction id.
      • status

        TxnStatus status()
        Return the transaction status.
        Returns:
        transaction status.
      • producedPartitions

        java.util.List<java.lang.String> producedPartitions()
        Return the the list of partitions that this transaction produces to.
        Returns:
        the list of partitions that this transaction produced to. the returned list is sorted by partition name.
      • ackedPartitions

        java.util.List<TransactionSubscription> ackedPartitions()
        Return the the list of partitions that this transaction acknowledges to.
        Returns:
        the list of partitions that this transaction acknowledges to. the returned list is sorted by partition name.
      • getOpenTimestamp

        long getOpenTimestamp()
        Return the transaction open timestamp.
        Returns:
        transaction open timestamp.
      • getTimeoutAt

        long getTimeoutAt()
        Return the transaction timeout at.
        Returns:
        transaction timeout at.
      • getOwner

        java.lang.String getOwner()
        Return the transaction's owner.
        Returns:
        transaction's owner.