Class BinlogOffset

  • All Implemented Interfaces:
    Serializable, Comparable<BinlogOffset>

    @PublicEvolving
    public class BinlogOffset
    extends Object
    implements Comparable<BinlogOffset>, Serializable
    A structure describes a fine grained offset in a binlog event including binlog position and gtid set etc.

    This structure can also be used to deal the binlog event in transaction, a transaction may contain multiple change events, and each change event may contain multiple rows. When restart from a specific BinlogOffset, we need to skip the processed change events and the processed rows.

    See Also:
    Serialized Form