public boolean isAtOrBefore(BinlogOffset that) {
        return this.compareTo(that) <= 0;
    }
This method is inspired by {@link io.debezium.relational.history.HistoryRecordComparator}.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/mysql/source/offset/BinlogOffset.java