public List<OffsetBound> offsetBounds() {
            return offsetBounds;
        }
The micro sync batch task syncs the records in partition - [start, end) to iceberg.
How to use:
1. #addPartition: add the partition to the task.
2. #startOffsets: set start offsets for partition syncing.
3. #endOffset: adjust the end offsets for partition syncing according to the batch size and record size.
4. #run: run the task.
core/src/main/java/kafka/automq/table/worker/TopicPartitionsWorker.java