final String consumersPath, final int brokerId, final List<String> consumers,
final List<RecoverPartition> recoverParts) throws IOException {
// ����topic,partition,consumer
for (final RecoverPartition recoverPartition : recoverParts) {
try {
final MessageStore store =
storeManager.getOrCreateMessageStore(recoverPartition.topic, recoverPartition.partition);
if (store == null) {
log.warn("Could not find partition:" + recoverPartition);
continue;
}
final List<SegmentInfo> segmentInfos = store.getSegmentInfos();
if (segmentInfos.isEmpty()) {
log.warn("Partition:" + recoverPartition + " is empty");
continue;
}
// offset��Ϣ���ϣ�����msgId��С����