Class TxLogPosition

  • All Implemented Interfaces:
    io.debezium.connector.Nullable, Comparable<TxLogPosition>

    public class TxLogPosition
    extends Object
    implements io.debezium.connector.Nullable, Comparable<TxLogPosition>
    Defines a position of change in the transaction log. The position is defined as a combination of commit LSN and sequence number of the change in the given transaction. The sequence number is monotonically increasing in transaction but it is not guaranteed across multiple transactions so the combination is necessary to get total order.
    Author:
    Jiri Pechanec
    • Field Detail

      • commitLsn

        private final Lsn commitLsn
      • inTxLsn

        private final Lsn inTxLsn
    • Constructor Detail

      • TxLogPosition

        private TxLogPosition​(Lsn commitLsn,
                              Lsn inTxLsn)