private int nextValue() {
    return counter.getAndIncrement();
  }
This is a log message partitioner that makes sure the record is without out-of-order.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/write/hidden/MixedFormatLogPartitioner.java