@Override
    public Collection<SnapshotSplit> split(SplitContext splitContext) {
        TableId collectionId = splitContext.getCollectionId();
        Map<TableId, TableChanges.TableChange> schema = new HashMap<>();
        schema.put(collectionId, collectionSchema(collectionId));

        SnapshotSplit snapshotSplit =
                new SnapshotSplit(
                        collectionId,
                        splitId(collectionId, 0),
                        shardKeysToRowType(singleton(ID_FIELD)),
                        minLowerBoundOfId(),
                        maxUpperBoundOfId(),
                        null,
                        schema);

        return singletonList(snapshotSplit);
    }
The Single Partitioner

<p>Split collection as a single chunk.
Copy from com.ververica:flink-connector-mongodb-cdc:2.3.0.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mongodb-cdc/src/main/java/org/apache/inlong/sort/cdc/mongodb/source/assigners/splitters/SingleSplitStrategy.java