GitHub user zhishengzhang added a comment to the discussion:
rocketmq5.3.0清理CommitLog
> broker.log 和 store.log 里搜索删除相关的日志分析一下
Does it support deleting data at a specific point?
`
/**
* Delete records whose offset is smaller than the given offset of the
corresponding partition.
* <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.
* @param options The options to use when deleting records.
* @return The DeleteRecordsResult.
*/
DeleteRecordsResult deleteRecords(Map<TopicPartition, RecordsToDelete>
recordsToDelete,
DeleteRecordsOptions options);
`
GitHub link:
https://github.com/apache/rocketmq/discussions/9986#discussioncomment-15624852
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]