default DeleteRecordsResult deleteRecords(Map<TopicPartition, RecordsToDelete> recordsToDelete) {
        return deleteRecords(recordsToDelete, new DeleteRecordsOptions());
    }
Delete records whose offset is smaller than the given offset of the corresponding partition.
<p>
This is a convenience method for {@link #deleteRecords(Map, DeleteRecordsOptions)} with default options.
See the overload for more details.
<p>
This operation is supported by brokers with version 0.11.0.0 or higher.

@param recordsToDelete The topic partitions and related offsets from which records deletion starts.
@return The DeleteRecordsResult.
clients/src/main/java/org/apache/kafka/clients/admin/Admin.java